how to run cloudbase-init manaully?
Hello,
Is it possible to run the cloudbase-init manually so I can debug my userdata without launching a new windows instance? ANd how? Thanks a lot
Hi,
Just delete this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cloudbase Solutions\Cloudbase-Init
And restart cloudbase-init
Restart-Service cloudbase-init
are you still just getting the userdata from metadata service (169.254.169.254)? Is there a way to provide the userdata manually to test images before launching them in openstack, such as storing a #cloud-config file in a local directory and pointing at it?
In OpenStack, you also have the option to provide a configdrive (iso / vhd / vhdx) to your instances. You can force attaching a configdrive to your instances by setting the force_config_drive=True option in the compute node's nova.conf file (and restarting the nova-compute service).
Asked: 2015-04-10 20:46:39 +0200
Seen: 2,014 times
Last updated: Apr 10 '15