Closed bendemaree closed 11 years ago
Thanks @bendemaree for reporting, and you are right on here. I just pulled in @erikh's #15 and cutting v0.3.3 now. If we didn't beat this one down, please reopen. Thank you!
Great @fnichol and @erikh! Prompt fix! I'll be able to pull it down soon and test.
Happy holidays!
Hello...wonderful library, thanks for all of your work!
Just wanted to let you know of a potential bug. When using
knife server bootstrap standalone
(in this case against a vagrant-provisioned box), the--identity-file
option is in fact required. If it is not passed with some key, thenet-ssh
command is called with an empty keys argument, which it tries to use. The error given without it is/Library/Ruby/Gems/1.8/gems/net-ssh-2.2.2/lib/net/ssh/authentication/key_manager.rb:64:in
expand_path': can't convert nil into String (TypeError)`Just to clarify, an associated key is not required, just any key.
The full command I am executing is
knife server bootstrap standalone --node-name master --host master --identity-file ~/mykey.pem --ssh-user vagrant --ssh-password vagrant
Thanks; if I knew more Ruby I'd fix 'er up myself. Alas...