chef-boneyard / knife-container

DEPRECATED: Container support for Chef's Knife Command
Apache License 2.0
57 stars 11 forks source link

is it possible to specify hostname during knife container build #23

Closed chrisduong closed 10 years ago

chrisduong commented 10 years ago

Hi,

I think it is a great feature for knife container. Thanks

tduffield commented 10 years ago

to specify the hostname, modify the .node_name file in the chef directory of your context.

irvingpop commented 10 years ago

I had to do this as well. The downside is that your -build node/client won't get automatically cleaned up.

tduffield commented 10 years ago

Just pushed #25 to address this issue. It will read the node_name based on the contents of the file. Pending TravisCI success I will merge and push 0.2.1 later this evening.

tduffield commented 10 years ago

v0.2.1 has been pushed. It will delete the node/client objects with a name matching the contents of the .node_name file.