[chef] RE: Setting a node name via knife bootstrap


Chronological Thread 
  • From: "Kadel-Garcia, Nico" < >
  • To: " " < >
  • Subject: [chef] RE: Setting a node name via knife bootstrap
  • Date: Fri, 15 Nov 2013 12:19:35 +0000
  • Accept-language: en-US

I gave up putting the password on the bootstrap line as soon as I discovered that the system would allow me to enter it manually, after starting the bootstrap script. It winds up putting remote root passwords on a command line that can be read by a local "ps" command. Worse is when you save the bootstrap command in a script and wind up with the password saved, in plain text, in your source control system.

                             Nico Kadel-Garcia



From: Eric Feldhusen
Sent: Thursday, November 14, 2013 4:06 PM
To:
Subject: [chef] Setting a node name via knife bootstrap

If the server has a "weird" hostname and I want to set the node name, is the knife bootstrap with the -N option how I do that?

For example..
knife bootstrap <ipaddress> -x user -P password --sudo -N desired_node_name 'some recipes' 

Just wanted to check before I goof up something on a very remote server.

Eric Feldhusen



Archive powered by MHonArc 2.6.16.

§