chef - Why am I getting prompted for sudo password via knife-vsphere when giving --ssh-user & --ssh-password params? -


i'm trying knife-vsphere working in vcenter environment. have script working spins vm template bootstraps , runs cookbook recipes completion. however, prompted supply sudo password. expected? supplied '--ssh-user' , '--ssh-password' params and, upon being prompted, i'm typing same password in , chef build continues.

isn't there way make hands off? may have missed?

thanks!

as pointed out in comments, os (not chef or knife) prompting sudo. don't want that, have configure user in template not prompted passwords when using sudo.

https://askubuntu.com/questions/192050/how-to-run-sudo-command-with-no-password

thanks rhashimoto.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -