New Question

UserData loads but doesn't do anything.

asked 2021-10-14 17:39:40 +0300

simone-benati gravatar image

updated 2021-10-14 17:40:19 +0300


I've been setting up a very basic cloudbase init to test. The config files seems to be working properly: (config file) These are the logs:

And this is the powershell script i'm trying to run via userdata.


New-LocalUser -Name "wt75" -NoPassword -Description "Description of your new account."

As you can see from the logs there isn't any ERROR but the powershell script isn't being executed. I'm using openstack and copy pasting my script in the "Configuration" option, also known as Customization Script.

Could you please guide me into finding out what i'm doing wrong?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2021-10-15 00:00:49 +0300

avladu gravatar image


Please use the Openstack metadata services, not the empty metadata service: .

The default installer configuration is perfect for the OpenStack usecase. The MSI installer prioritizes config drive openstack metadata service in the unattend specialize, and the http openstack metadata service in the cloudbase-init service run.

Thank you,
Adrian Vladu

edit flag offensive delete link more


Thank you very much. It worked!

simone-benati gravatar imagesimone-benati ( 2021-10-15 20:27:32 +0300 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2021-10-14 17:39:40 +0300

Seen: 205 times

Last updated: Oct 15 '21