Erik Nomitch
Erik Nomitch

Reputation: 1665

How do I make a Packer-based image become a Chef node once running in production?

I have a DigitalOcean Image snapshot being created with Packer and provisioned with Chef Solo. After I create a new Droplet based on this image, I'd like it to be a unique Chef node for my Chef server.

What's the best way to do this? How should I tell that Droplet to become a Chef node?

Thanks, Erik

Upvotes: 1

Views: 308

Answers (1)

Julian Dunn
Julian Dunn

Reputation: 286

You could bootstrap the droplet with knife bootstrap: http://docs.opscode.com/knife_bootstrap.html

Upvotes: 1

Related Questions