- From: Motiejus Jakštys <
>
- To:
- Subject: [chef] Re: Re: Re: advise on first chef invocation on a VM
- Date: Sun, 3 Jun 2012 17:47:43 +0200
On Sun, Jun 3, 2012 at 5:39 PM, Jesse Campbell
<
>
wrote:
>
Why do you not want to use knife bootstrap or vagrant? Installing chef
>
client in the template image seems like the wrong way around to me...
It's not in template, it's installed during VM bootstrapping phase.
Just like you would install openssh to connect to server, you install
chef to autoconfigure itself.
This way additional "knife bootstrap" phase is unnecessary.
Actually, I copied and adjusted puppet role from xen-utils/role.d/ to
make it work with Chef.
Anyway, I solved the problem by creating an init script which
registers to chef on first boot, and removes itself when the
registration is successful.
--
Motiejus Jakštys
Archive powered by MHonArc 2.6.16.