Is there a way to pass a parameter to the node when doing a knife bbootstrap? I want to be able to pass the fqdn hostname to the host and change the hostname prior to the chef-client cookbook configures the chef-client. If I use -N or --node-name with knife bootstrap, I am not sure how I can pass that to Chef-Solo so that it can change the hostname prior to running the chef-client cookbook. knife bootstrap 192.168.1.50 -r 'recipe[hostname::change],recipe[chef-client],recipe[chef-client::delete_validation],role[Base]' --distro my-bootstrap -x user --sudo -V variable=myhost.myco.com I think this has been mentioned here before, but I cannot find it.. Thanks Randy |
Archive powered by MHonArc 2.6.16.