New Question
0

What are all the parameters when using answer file to install

asked Jan 21 '15

this post is marked as community wiki

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

Hi,

I have tried automated windows installation with answer file. I would like to install cloudbase-init also with the answer file. What are all the possible parameters I can give in the "command line"? Do I have all the same "options"/configuration/parameter possibilities as in manual installation?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Jan 23 '15

ader1990 gravatar image

Hello,

Here is an example of an unattended cloudbase-init installation using the installer: https://github.com/cloudbase/windows-...

Furthermore, the parameters that you can specify are: USERNAME(string value), LOGGINGSERIALPORTNAME(string value), INJECTMETADATAPASSWORD(int value, accepted values: 0 or 1), NETWORKADAPTERNAME(string value).

For example:

msiexec -i $CloudbaseInitMsiPath /qn /l*v $CloudbaseInitMsiLog USERNAME=$username LOGGINGSERIALPORTNAME=$serialPortName INJECTMETADATAPASSWORD=1 NETWORKADAPTERNAME=$networkAdapterName

Hope it helps.

Preview: (hide)
link

Comments

Thank you for answering! This cleared some uncertainties with exact variable names. But even thought "User's local groups (comma separated list)" in gui installation is default "Administrators", can I set it with 'GROUPS="Administrators"' in answer file? How about chosing the sysprep option in the end of gui installation? I had run cloudbaseinit in my answerfile with parameters: USERNAME="Administrator" GROUPS="Administrators" NETWORKADAPTERNAME="Red Hat VirtIO Ethernet Adapter" LOGGINGSERIALPORTNAME="COM1" INJECTMETADATAPASSWORD="1" I checked from windows registry and it had run sysprep, but could I set it not to run?

CloudInTheSky gravatar imageCloudInTheSky (Jan 26 '15)

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: Jan 21 '15

Seen: 715 times

Last updated: Jan 26 '15