openstack - How to re-run cloud-init without reboot -


i using openstack create vm using 'nova boot' command. image cloud-init enabled. pass --user-data script bash shell format cloud-init run during vm boot time. happens successfully. use-case re-run cloud-init execute same user-data script without rebooting vm. saw /usr/bin/cloud-init options , talk running specific modules nothing able make execute same user-data script. how can achieved ? appreciated.

in order cloud-init reset, need execute rm -rf /var/lib/cloud/instances.

then re run cloud-init start , run full boot script process again.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -