New Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

Here is an example of cloudbase-init msi supported parameters:

msiexec /i CloudbaseInitSetup_x64.msi /qn /l*v log.txt CLOUDBASEINITCONFFOLDER="C:\" LOGGINGSERIALPORTNAME="COM1" BINFOLDER="C:\bin" LOGFOLDER="C:\log" USERNAME="admin1" INJECTMETADATAPASSWORD="TRUE" USERGROUPS="Administrators" LOGGINGSERIALPORTNAME="COM2" LOCALSCRIPTSFOLDER="C:\localscripts"

There are also MAAS related parameters that you can define. Here is the list: MAASMETADATAURL, MAASOAUTHCONSUMERKEY, MAASOAUTHCONSUMERSECRET, MAASOAUTHTOKENKEY, MAASOAUTHTOKENSECRET.

As cloudbase-init does not automatically run after the installation, you can also define the configuration in the ini configuration files: CLOUDBASEINITCONFFOLDER\cloudbase-init.conf and CLOUDBASEINITCONFFOLDER\cloudbase-init-unatend.conf. You can find an extensive documentation on this matter here: https://cloudbase-init.readthedocs.io/en/latest/tutorial.html#configuration-file

Thank you,
Adrian Vladu