New Question

What are all the parameters when using answer file to install

asked 2015-01-21 12:52:28 +0300

this post is marked as community wiki

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


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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-01-23 18:18:21 +0300

ader1990 gravatar image


Here is an example of an unattended cloudbase-init installation using the installer:

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.

edit flag offensive delete link more


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 ( 2015-01-26 15:47:21 +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: 2015-01-21 12:52:28 +0300

Seen: 659 times

Last updated: Jan 26 '15