Knife bootstrap passing a parameter for hostname


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

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 -r
_validation],role[Base]’ --distro my-bootstrap -x user --sudo -V

I think this has been mentioned here before, but I cannot find it…