win_ref - OpenNebula/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"orSTART_SCRIPT="choco upgrade all"for Bash and PowerShell respectively. | 
| START_SCRIPT_BASE64 | Same as START_SCRIPTbut encoded in Base64. | 
| ONEGATE_ENDPOINT | Automatically added by OpenNebula if TOKENisYES. Defaults tohttp://169.254.16.9:5030. Value loaded from/etc/one/oned.conf. | 
| NETWORK | YESto automatically fill networking parameters for each NIC, used by Contextualization packages. | 
| SET_HOSTNAME | Sets the VM hostname. | 
| DNS_HOSTNAME | YESto 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. UsePASSWORD_BASE64instead. | 
| SSH_PUBLIC_KEY | Key to be added to USERNAMEauthorized_keysfile orrootifUSERNAMEis not set. Requires OpenSSH server on Windows, user automatically detected.USERNAMEignored. | 
| 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 ofC:. | 
| GROW_FS | Drive letters (e.g. X:,Y:) of extra filesystems to extend.C:is implied ifGROW_ROOTFSis empty orYES. | 
| EJECT_CDROM | Value YES will signal to eject the CD with the context.shfile when (re)contextualization is finished. | 
| ENABLE_SSH | Set to NOto disable the automatic startup of the sshd service (if installed). |