Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleshell command

knife bootstrap <FQDN/IP> -x <user name> -P <password> --sudo -N <node name> -r "recipe[cookbook]"

OR

knife bootstrap <FQDN/IP> -i <identity file like a .pem file> --sudo -N <node name> -r "recipe[cookbook]"

NOTE: before you run this command, make sure you are in the parent folder of the cookbook folder

...

For the command knife bootstrap <ip address> -V -i <pem file> --sudo -N <node-name> -r "recipe[lcookbookcookbook]"

When it comes to provisioning a Node, create and run an EC2 instance, then you need to allow root login as well as he the ec2-user, to do this take these steps

...