42 lines
1003 B
XML
42 lines
1003 B
XML
NAME = "<%= template_name %>"
|
|
CONTEXT = [
|
|
NETWORK = "YES",
|
|
REPORT_READY = "YES",
|
|
SET_HOSTNAME = "$NAME",
|
|
SERVER_ROLE = "worker",
|
|
MASTER_ADDR = "$MASTER_ADDR",
|
|
MASTER_TOKEN = "$MASTER_TOKEN",
|
|
MASTER_CA_TOKEN = "$MASTER_CA_TOKEN",
|
|
TOKEN = "YES",
|
|
SSH_PUBLIC_KEY = "$USER[SSH_PUBLIC_KEY]"
|
|
]
|
|
CPU = "0.8"
|
|
DESCRIPTION = "Kubernetes worker VM"
|
|
DISK = [
|
|
DEV_PREFIX = "vd",
|
|
IMAGE = "<%= image_name %>",
|
|
IMAGE_UNAME = "<%= user %>",
|
|
DRIVER = "qcow2" ]
|
|
GRAPHICS = [
|
|
LISTEN = "0.0.0.0",
|
|
KEYMAP = "fr",
|
|
TYPE = "VNC" ]
|
|
HYPERVISOR = "kvm"
|
|
INPUT = [
|
|
BUS = "usb",
|
|
TYPE = "tablet" ]
|
|
INPUTS_ORDER = ""
|
|
LOGO = "images/logos/alpine.png"
|
|
MEMORY = "4096"
|
|
MEMORY_UNIT_COST = "MB"
|
|
NIC_DEFAULT = [
|
|
MODEL = "virtio" ]
|
|
OS = [
|
|
ARCH = "x86_64",
|
|
BOOT = "",
|
|
SD_DISK_BUS = "scsi" ]
|
|
USER_INPUTS = [
|
|
MASTER_ADDR = "O|text|Master address (for workers only)",
|
|
MASTER_TOKEN = "O|text|Master Token (for workers only)",
|
|
MASTER_CA_TOKEN = "O|text|Master CA Token (for workers only)" ]
|
|
VCPU = "4" |