Добавление новой ноды в Chef Server

knife bootstrap {{address}} --ssh-user {{user}} --ssh-password '{{password}}' --sudo --use-sudo-password --node-name node1

From your workstation, run this command to bootstrap your node. Replace {{address}} with your remote node’s external address, {{user}} with your username, and {{password}} with your password.

Удаленный запуск chef-client

knife ssh 'name:mynode' 'sudo chef-client'

Добавить комментарий