win_ref - lukasfazik/one-apps GitHub Wiki
Context Attributes Reference
This table lists all the attributes supported by the Windows context packages.
| Attribute | Description |
|---|---|
START_SCRIPT |
Script executed on machine boot. The attribute may contain a shebang if not calling a default shell script. Example: START_SCRIPT="yum upgrade" or START_SCRIPT="choco upgrade all" for Bash and PowerShell respectively. |
START_SCRIPT_BASE64 |
Same as START_SCRIPT but encoded in Base64. |
ONEGATE_ENDPOINT |
Automatically added by OpenNebula if TOKEN is YES. Defaults to http://169.254.16.9:5030. Value loaded from /etc/one/oned.conf. |
NETWORK |
YES to automatically fill networking parameters for each NIC, used by Contextualization packages. |
SET_HOSTNAME |
Sets the VM hostname. |
DNS_HOSTNAME |
YES to set the VM hostname to the reverse DNS name (from the first IP). |
DNS |
Specific DNS server for the Virtual Machine. |
USERNAME |
User to be created in the guest OS. |
PASSWORD_BASE64 |
Password encoded in base64. To be set for the USERNAME. |
PASSWORD |
Password to be set for the USERNAME. Use PASSWORD_BASE64 instead. |
SSH_PUBLIC_KEY |
Key to be added to USERNAME authorized_keys file or root if USERNAME is not set. Requires OpenSSH server on Windows, user automatically detected. USERNAME ignored. |
WINADMIN |
Set to NO to treat the Windows user as a standard user for setting SSH_PUBLIC_KEY. |
TIMEZONE |
Time zone to set. The name must match supported zone listed by tzutil /l (e.g. Central Standard Time). |
GROW_ROOTFS |
If set to NO, disables automatic growing of C:. |
GROW_FS |
Drive letters (e.g. X:, Y:) of extra filesystems to extend. C: is implied if GROW_ROOTFS is empty or YES. |
EJECT_CDROM |
Value YES will signal to eject the CD with the context.sh file when (re)contextualization is finished. |