Common Options

Common Options

The following options can be run with all knife subcommands and plug-ins:

-c CONFIG_FILE, --config CONFIG_FILE
The configuration file to use. For example, when knife is run from a node that is configured to be managed by the Chef server, this option is used to allow knife to use the same credentials as the chef-client when communicating with the Chef server.
--chef-zero-port PORT
The port on which chef-zero listens.
-d, --disable-editing
Prevent the $EDITOR from being opened and accept data as-is.
--defaults
Cause knife to use the default value instead of asking a user to provide one.
登录查看完整内容