Open lmilbaum opened 8 years ago
During the knife run, I hit the next error multiple times: root@159.8.52.138's password: stty: stdin isn't a terminal stty: stdin isn't a terminal ...............stty: stdin isn't a terminal
The plugin ignores the ssh-user flag.
I can ssh to the new created server with the command: ssh -i ~/.ssh/sl_rsa.pem root@
Why root and not ubuntu?
This is my command: knife softlayer server create \ -H test -D sookka.co.il \ --flavor m1.tiny \ --os-code UBUNTU_14_64 \ --datacenter ams01 \ --node-name server1 \ --ssh-user ubuntu \ --ssh-keys 713361 \ -i ~/.ssh/sl_rsa.pem \ --new-global-ip v4 \ --config config.rb
This is my config.rb file
log_level :info log_location STDOUT client_key "#{current_dir}/keys/liora.pem" chef_server_url "https://api.opscode.com/organizations/lmb" cookbook_path ["#{current_dir}/chef-repo/cookbooks/"] role_path ["#{current_dir}/chef-repo/roles/"] node_name "liora"
knife[:softlayer_username] = ENV['SOFTLAYER_USERNAME'] knife[:softlayer_api_key] = ENV['SOFTLAYER_API_KEY']
The command timeouts after 600 seconds and the ssh command using the sl_rsa key is not working. It requires ubuntu's password.
What have I done wrong?