-
Notifications
You must be signed in to change notification settings - Fork 22
linux_ref
Ruben S. Montero edited this page Dec 21, 2023
·
6 revisions
This table lists all the attributes supported by the context packages
Attribute | Description |
---|---|
START_SCRIPT |
Script executed on machine boot. Can contain shebang if not a 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. |
TOKEN |
YES to create a token.txt file for OneGate monitoring. |
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. |
NETCFG_TYPE |
Network configuration service inside guest VM responsible for configuring NICs: empty (autodetects suitable service inside VM), bsd (for FreeBSD network configuration), interfaces (for Debian-style configuration via /etc/network/interfaces ), netplan (for Netplan, set custom Netplan renderer via NETCFG_NETPLAN_RENDERER ), networkd (for systemd-networkd), nm (for NetworkManager), scripts (for legacy Red Hat-style configuration via ifcfg-ethX files). |
NETCFG_NETPLAN_RENDERER |
Netplan renderer (effective only when NETCFG_TYPE=netplan ): empty or networkd (for systemd-networkd), NetworkManager (for NetworkManager). |
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. Defaults to root if password or SSH_PUBLIC_KEY is defined. |
CRYPTED_PASSWORD_BASE64 |
Crypted password encoded in base64. To be set for the USERNAME . |
PASSWORD_BASE64 |
Password encoded in base64. To be set for the USERNAME . |
CRYPTED_PASSWORD |
Crypted password. To be set for the USERNAME . Use CRYPTED_PASSWORD_BASE64 instead. |
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. |
TIMEZONE |
Time zone to set. On Linux, the name must match the zone file name relative to /usr/share/zoneinfo/ (e.g. US/Central ). On Windows, 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 root filesystem or C: on Windows. |
GROW_FS |
Mountpoints on Linux (e.g.: /mnt/disk /data ) or drive letters on Windows (e.g.: X: Y: ) of extra filesystems to extend. The rootfs / on Linux or C: on Windows is implied if GROW_ROOTFS is empty or YES . |
IGNORE_SWAP |
If set to YES , one-contexd service skips auto-mounting of any found swap devices (does not affect swap defined in /etc/fstab ). |
RECREATE_RUN |
If set to YES , restores missing directories and files persisted in the image in /run (or /var/run ) to the ephemeral /run (or /var/run ) of the VM instance. |
- OpenNebula Apps Overview
- OS Appliances Update Policy
- OneApps Quick Intro
- Build Instructions
- Linux Contextualization Packages
- Windows Contextualization Packages
- OneKE (OpenNebula Kubernetes Edition)
- Virtual Router
- Overview & Release Notes
- Quick Start
- OpenRC Services
- Virtual Router Modules
- Glossary
- WordPress
- Harbor Container Registry
- MinIO
- Ray AI
- NVIDIA Dynamo AI
- Rancher CAPI
- Development