« Back to projectatomic.io
Ask Your Question

cloud-init reinitialization

asked 2015-03-23 06:50:14 +0000

chow gravatar image

updated 2015-03-23 06:50:22 +0000

Hi:\r\n Can I reinitialization cloud-init? I exec: rm -rf /var/lib/cloud/instances. then reboot system. but cloud-init not reinitialization , what way can work for me ?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-03-23 13:34:19 +0000

In your meta-data file, there is an instance-id tag. Change that value and reboot the system. That should signal to cloud-init that that this boot is a new instance (or virtual machine) and reapply all cloud-init configs.

edit flag offensive delete link more


Thank you. I will try it .

chow ( 2015-03-24 02:25:55 +0000 )edit

Hi: I modify instance-id and local-hostname, then it work for me. thank you again!!!

chow ( 2015-03-24 07:32:05 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


Asked: 2015-03-23 06:50:14 +0000

Seen: 126 times

Last updated: Mar 23 '15