We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
homestead
Arch Linux 4.9.30-1-lts #1 SMP Sun May 28 18:47:29 CEST 2017 x86_64 GNU/Linux
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/Code to: /home/vagrant/Code sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public databases: - homestead
https://gist.github.com/nicolaiskogheim/949ffbe3a065917f2611747aec7c3a1c
Vagrant should have told me that the keys specified in homestead.yml doesn't exist.
homestead.yml
Stacktrace when ruby wasn't able to read the file.
In scripts/homestead.yml:118 the keys from homestead.yml is read, but there is no error checking.
scripts/homestead.yml:118
keys
### scripts/homestead.rb:112 # Copy The SSH Private Keys To The Box if settings.include? 'keys' settings["keys"].each do |key| config.vm.provision "shell" do |s| s.privileged = false s.inline = "echo \"$1\" > /home/vagrant/.ssh/$2 && chmod 600 /home/vagrant/.ssh/$2" s.args = [File.read(File.expand_path(key)), key.split('/').last] end end end
~/.ssh/id_rsa
vagrant up
The text was updated successfully, but these errors were encountered:
✨ 🚑 Gracefully handle missing SSH keys or bad filenames. Fixes #592
c253290
09e81dc
No branches or pull requests
Versions
homestead
command)Host operating system
Arch Linux 4.9.30-1-lts #1 SMP Sun May 28 18:47:29 CEST 2017 x86_64 GNU/Linux
Homestead.yaml
Vagrant up output
https://gist.github.com/nicolaiskogheim/949ffbe3a065917f2611747aec7c3a1c
Expected behavior
Vagrant should have told me that the keys specified in
homestead.yml
doesn't exist.Actual behavior
Stacktrace when ruby wasn't able to read the file.
In
scripts/homestead.yml:118
thekeys
fromhomestead.yml
is read, but there is no error checking.Steps to reproduce
~/.ssh/id_rsa
file presentvagrant up
The text was updated successfully, but these errors were encountered: