New Question
0

windows-openstack-imaging-tools - activate Windows instance

asked 2016-08-10 14:18:34 +0200

jbalciunas gravatar image

updated 2016-11-11 22:15:25 +0200

Claudiu Belu gravatar image

Hi,

currently the workflow for windows-openstack-imaging-tools does an automated cloudbase-init deployment in Logon.ps1 by issuing the following command:

$p = Start-Process -Wait -PassThru -FilePath msiexec -ArgumentList "/i $CloudbaseInitMsiPath /qn /l*v $CloudbaseInitMsiLog LOGGINGSERIALPORTNAME=$serialPortName"

I've been able to modify the command slightly to use the built-in Administrator account by adding USERNAME property to the command which is great, however, I'm struggling to find an option to add activate_windows=true to the cloudbase-init config files in an automated fashion.

What would be your suggestion for doing this?

Thanks!

Justinas

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-08-24 19:23:31 +0200

avladu gravatar image

Hello,

This can be achieved by manually or automatically adding the entry to the cloudbase-init.conf file. Here is the workflow we are using to install cloudbase-init in the image: https://github.com/cloudbase/windows-...

You can also use the ini.psm1 powershell module to add the desired configuration values to the configuration file: https://github.com/cloudbase/windows-...

Thank you,

Adrian Vladu

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

1 follower

Stats

Asked: 2016-08-10 14:18:34 +0200

Seen: 797 times

Last updated: Aug 24 '16