[chef] Re: bootstrapping a vm using knife-vsphere


Chronological Thread 
  • From: Aditya Karanjkar < >
  • To:
  • Subject: [chef] Re: bootstrapping a vm using knife-vsphere
  • Date: Mon, 16 Jun 2014 13:46:08 -0700

Hi Vignesh,

I haven't tried this yet but knife vsphere vm clone --help shows a '--bootstrap' option which indicates whether to bootstrap a VM or not.
Hope this helps.

Regards,
Aditya


On Mon, Jun 16, 2014 at 11:25 AM, < " target="_blank"> > wrote:
I have been trying to create and bootstrap a VM from my chefworkstation using
knife-vsphere plugin.

I am able to clone a VM from a template in vsphere environment using the
following command.
knife vsphere vm clone vmname --template templatename --cspec customspecname

But I need to know if the above command creates and bootstraps(install
chef-client on it) a chef node which I believe is not the case. If not how to
bootstrap the vm node using the same command from my worstation. I see a lot of
option to be used in the command in
"https://github.com/ezrapagel/knife-vsphere/blob/master/README.rdoc"  but I
need the most basic ones required to bootstrap and register my vm with the chef
server.
any help would be great.

Thanks in advance,
Vignesh




Archive powered by MHonArc 2.6.16.

§