New Question
0

How can I perform an unattended Installation cloudbase-init forcing to use local system and not create a new user

asked 2022-09-16 19:16:09 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I would like to have cloudbase init install silently and use the local system account to run the service. By default it wants to create the user cloud-init. I can do this through the GUI installation but we have automation in place to create our templates automatically. I searched many times for a solution but I was not able to find one.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2022-09-19 18:10:25 +0300

avladu gravatar image

Hello,

You can perform it using the flag RUNSERVICEASLOCALSYSTEM=1.

Full example:
msiexec /i $CloudbaseInitMsiPath /qn RUNSERVICEASLOCALSYSTEM=1

More examples can be found here: https://github.com/cloudbase/windows-... .

Thank you,
Adrian

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: 2022-09-16 19:16:09 +0300

Seen: 4,593 times

Last updated: Sep 19 '22