gem install knife-setup
$ knife setup --help
knife setup FQDN (options)
--bootstrap-proxy PROXY_URL The proxy server for the node being bootstrapped
--bootstrap-version VERSION The version of Chef to install
-N, --node-name NAME The Chef node name for your new node
-s, --server-url URL Chef Server URL
-k, --key KEY API Client Key
--color Use colored output
-c, --config CONFIG The configuration file to use
--defaults Accept default values for all questions
-d, --distro DISTRO Bootstrap a distro using a template
--editor EDITOR Set the editor to use for interactive commands
-e, --environment ENVIRONMENT Set environment for node
-F, --format FORMAT Which format to use for output
-i IDENTITY_FILE, The SSH identity file used for authentication
--identity-file
--no-color Don't use colors in the output
-n, --no-editor Do not open EDITOR, just accept the data as is
--no-host-key-verify Disable host key verification
--nobootstrap Don't run bootstrap scripts
-u, --user USER API Client Username
--norunchef Don't run chef after install bootstrap
--prerelease Install the pre-release chef gems
--print-after Show the data after a destructive operation
-r, --run-list RUN_LIST Comma separated list of roles/recipes to apply
-P, --ssh-password PASSWORD The ssh password
-p, --ssh-port PORT The ssh port
-x, --ssh-user USERNAME The ssh username
--template-file TEMPLATE Full path to location of template to use
--sudo Execute the bootstrap via sudo
-V, --verbose More verbose output. Use twice for max verbosity
-v, --version Show chef version
-y, --yes Say yes to all prompts for confirmation
-h, --help Show this message