Document navigation

Template Syntax Rules

Bare metal templates include system variables and custom variables to support unattended deployment scenarios of varying complexity.

System preconfigured templates contain only system variables. Custom templates contain the basic system variables and can also include variables that you define.

System variable example (use uppercase letters and underscores as separators):
REPO_URL
# Installation source URL created from the selected ISO image
# Can be commented out and manually specified by using --url

USERNAME
# System username
# The default username is root for RHEL/CentOS and SUSE/openSUSE systems; only a password is required
# A custom username and password are required for Debian/Ubuntu systems

PASSWORD
# Password for the system user

NETWORK_CFGS
# NIC UUID and network UUID entered in the UI
# Replaced after automatic or manual IP address assignment

FORCE_INSTALL
# Whether to overwrite existing disk data automatically during deployment

PRE_SCRIPTS
# Scripts to run before deployment

POST_SCRIPTS
# Scripts to run after deployment
Custom variable example (use lowercase letters and underscores as separators):
hostname
# Hostname

keyboard
# Keyboard

timezone
# Time zone
Use the syntax rules for the corresponding template type:
  • For kickstart templates, see the Red Hat documentation.
  • For preseed or autoinstall templates, see the Ubuntu documentation.
  • For autoyast templates, see the SUSE documentation.
User Guide | ZStack ZSphere · ZVF | ZStack Resource Center