New Question
0

userdata plugin loaded but doesn't seem to run

asked 2015-01-21 12:17:41 +0300

james_shaw gravatar image

Hi,

Running Openstack Icehouse and i have deployed a windows 7 image with cloudbase-init installed. I am passing the following user_data through:

rem cmd start "C:\Program Files\Internet Explorer" IEXPLORE.EXE www.google.com

This data is accessible from the metadata url inside the vm however nothing is executed. The cloudbase init logs just says

"Executing pluging "UserDataPlugin""

Is there anything else i can try in order to debug this issue

thanks.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-01-23 18:06:12 +0300

ader1990 gravatar image

Hi,

"rem" command is used to put a comment in a batch file

A valid command script would be:

rem cmd

start "C:\Program Files\Internet Explorer" IEXPLORE.EXE www.google.com

You should also take into consideration that the user-data script is ran under the user cloud-init.

Hope it helps.

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

[hide preview]

Question Tools

Stats

Asked: 2015-01-21 12:17:41 +0300

Seen: 122 times

Last updated: Jan 23 '15