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


Chronological Thread 
  • From: Vignesh Kumar < >
  • To:
  • Subject: [chef] Re: Re: bootstrapping a vm using knife-vsphere
  • Date: Tue, 17 Jun 2014 09:13:03 -0700

Hi Aditya,

thanks for the suggestion.It did not help me but when I give this --distro option as well it bootstraps my node and registers it with the chef server.

Regards,
Vignesh.
 


On Mon, Jun 16, 2014 at 1:46 PM, Aditya Karanjkar < " target="_blank"> > wrote:
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.

§