New Question
0

how to run cloudbase-init manaully?

asked 2015-04-10 20:46:39 +0200

celina-yang gravatar image

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

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2015-04-10 21:10:50 +0200

alexpilotti gravatar image

Hi,

Just delete this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cloudbase Solutions\Cloudbase-Init

And restart cloudbase-init

Restart-Service cloudbase-init
edit flag offensive delete link more

Comments

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?

smastrorocco gravatar imagesmastrorocco ( 2015-11-10 22:15:21 +0200 )edit

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).

Claudiu Belu gravatar imageClaudiu Belu ( 2016-11-09 21:15:40 +0200 )edit
0

answered 2015-04-10 22:03:13 +0200

celina-yang gravatar image

Thanks a lot

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2015-04-10 20:46:39 +0200

Seen: 2,023 times

Last updated: Apr 10 '15