{"action":"created","issue":{"url":"https://api.github.com/repos/matschaffer/knife-solo/issues/483","repository_url":"https://api.github.com/repos/matschaffer/knife-solo","labels_url":"https://api.github.com/repos/matschaffer/knife-solo/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/matschaffer/knife-solo/issues/483/comments","events_url":"https://api.github.com/repos/matschaffer/knife-solo/issues/483/events","html_url":"https://github.com/matschaffer/knife-solo/issues/483","id":145950308,"number":483,"title":"passing knife solo bootstrape the ssh usernmae and password still result with prompts for password","user":{"login":"tal5ab","id":14328080,"avatar_url":"https://avatars.githubusercontent.com/u/14328080?v=3","gravatar_id":"","url":"https://api.github.com/users/tal5ab","html_url":"https://github.com/tal5ab","followers_url":"https://api.github.com/users/tal5ab/followers","following_url":"https://api.github.com/users/tal5ab/following{/other_user}","gists_url":"https://api.github.com/users/tal5ab/gists{/gist_id}","starred_url":"https://api.github.com/users/tal5ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tal5ab/subscriptions","organizations_url":"https://api.github.com/users/tal5ab/orgs","repos_url":"https://api.github.com/users/tal5ab/repos","events_url":"https://api.github.com/users/tal5ab/events{/privacy}","received_events_url":"https://api.github.com/users/tal5ab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-05T10:35:37Z","updated_at":"2016-04-06T23:37:14Z","closed_at":null,"body":"When i pass --ssh-user user --ssh-password Password to the knife solo bootstrape command\r\nThe prepare part pass ok , but the cook part does not pick up the password\r\nWhich make me enter the password 6-7 times:\r\n\r\n```\r\n\r\nC:\\QAOps\\test1>knife solo bootstrap host --ssh-user user --ssh-password pass -r install_em_v9 --ssh-control-master=no\r\nBootstrapping Chef...\r\nRefreshing catalog 1/1 solaris\r\npkg install: The following pattern(s) did not match any allowable packages.  Try\r\n \r\nusing a different matching pattern, or refreshing publisher information:\r\n \r\n        web/ca-bundle\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100 20077  100 20077    0     0  14925      0  0:00:01  0:00:01 --:--:-- 22111\r\nsolaris2 5.11 sparc\r\nGetting information for chef stable 12.5.1 for solaris2...\r\ndownloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=12.5.1&p=sol\r\naris2&pv=5.11&m=sparc\r\n  to file /tmp/install.sh.242/metadata.txt\r\ntrying wget...\r\nurl     https://opscode-omnibus-packages.s3.amazonaws.com/solaris2/5.11/sparc/ch\r\nef-12.5.1-1.sparc.solaris\r\nmd5     1312e58df5e2e2108e7593f4dc103c87\r\nsha256  a8c8b94d31c56f5a2f9877ef60b02a06c3f2a40b7fbff42f57ffb05ab0f8a8c1\r\nversion 12.5.1\r\ndownloaded metadata file looks valid...\r\ndownloading https://opscode-omnibus-packages.s3.amazonaws.com/solaris2/5.11/spar\r\nc/chef-12.5.1-1.sparc.solaris\r\n  to file /tmp/install.sh.242/chef-12.5.1-1.sparc.solaris\r\ntrying wget...\r\nComparing checksum with sha256sum...\r\nInstalling chef 12.5.1\r\ninstalling with pkgadd...\r\nThank you for installing Chef!\r\n \r\nInstallation of <chef> was successful.\r\nRunning Chef on host...\r\nUploading the kitchen...\r\nPassword:\r\nPassword:\r\nPassword:\r\nPassword:\r\nPassword:\r\nWARNING: Local role_path 'roles' does not exist\r\nWARNING: Local data_bag_path 'data_bags' does not exist\r\nWARNING: Local environment_path 'environments' does not exist\r\nGenerating solo config...\r\nPassword:\r\nRunning Chef: sudo chef-solo -c ~/chef-solo/solo.rb -j ~/chef-solo/dna.json\r\nStarting Chef Client, version 12.5.1\r\nCompiling Cookbooks...\r\nConverging 4 resources\r\nRecipe: install_V9::install\r\n  * cookbook_file[/export/home/user/xx.xml] action\r\ncreate_if_missing\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/matschaffer/knife-solo/issues/comments/206621389","html_url":"https://github.com/matschaffer/knife-solo/issues/483#issuecomment-206621389","issue_url":"https://api.github.com/repos/matschaffer/knife-solo/issues/483","id":206621389,"user":{"login":"matschaffer","id":690,"avatar_url":"https://avatars.githubusercontent.com/u/690?v=3","gravatar_id":"","url":"https://api.github.com/users/matschaffer","html_url":"https://github.com/matschaffer","followers_url":"https://api.github.com/users/matschaffer/followers","following_url":"https://api.github.com/users/matschaffer/following{/other_user}","gists_url":"https://api.github.com/users/matschaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/matschaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matschaffer/subscriptions","organizations_url":"https://api.github.com/users/matschaffer/orgs","repos_url":"https://api.github.com/users/matschaffer/repos","events_url":"https://api.github.com/users/matschaffer/events{/privacy}","received_events_url":"https://api.github.com/users/matschaffer/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T23:37:14Z","updated_at":"2016-04-06T23:37:14Z","body":"That's an interesting thought.\r\n\r\nI don't think I'd want to make it totally magic since some people might have security concerns, but adding something like `--generate-ssh-keys` to prepare sounds like a decent idea to me."}}