2022-12-06 15:44:25 +01:00
|
|
|
NAME = "<%= template_name %>"
|
|
|
|
CONTEXT = [
|
|
|
|
DHCPLEASEDURATION = "$DHCPLEASEDURATION",
|
|
|
|
DHCPMODE = "$DHCPMODE",
|
|
|
|
DNSDOMAIN = "$DNSDOMAIN",
|
|
|
|
DHCPRANGE = "$DHCPRANGE",
|
|
|
|
MATCHBOX_URL = "http://$NAME",
|
|
|
|
NETWORK = "YES",
|
|
|
|
PXE_DHCPLEASEDURATION = "$DHCPLEASEDURATION",
|
|
|
|
PXE_DHCPMODE = "$DHCPMODE",
|
|
|
|
PXE_DHCPRANGE = "$DHCPRANGE",
|
|
|
|
REPORT_READY = "YES",
|
|
|
|
SET_HOSTNAME = "$NAME",
|
|
|
|
SSH_PUBLIC_KEY = "$USER[SSH_PUBLIC_KEY]",
|
|
|
|
TOKEN = "YES" ]
|
|
|
|
CPU = "0.2"
|
2022-12-27 15:26:03 +01:00
|
|
|
DESCRIPTION = "Matchbox Ready VM"
|
2022-12-06 15:44:25 +01:00
|
|
|
DISK = [
|
|
|
|
IMAGE = "<%= image_name %>",
|
|
|
|
IMAGE_UNAME = "<%= user %>",
|
|
|
|
DRIVER = "qcow2" ]
|
|
|
|
GRAPHICS = [
|
|
|
|
KEYMAP = "fr",
|
|
|
|
LISTEN = "0.0.0.0",
|
|
|
|
TYPE = "VNC" ]
|
|
|
|
HYPERVISOR = "kvm"
|
|
|
|
INPUT = [
|
|
|
|
BUS = "usb",
|
|
|
|
TYPE = "tablet" ]
|
|
|
|
INPUTS_ORDER = ""
|
|
|
|
LOGO = "images/logos/alpine.png"
|
|
|
|
MEMORY = "2048"
|
|
|
|
MEMORY_UNIT_COST = "MB"
|
|
|
|
NIC_DEFAULT = [
|
|
|
|
MODEL = "virtio" ]
|
|
|
|
OS = [
|
|
|
|
ARCH = "x86_64",
|
|
|
|
BOOT = "",
|
|
|
|
SD_DISK_BUS = "scsi" ]
|
|
|
|
USER_INPUTS = [
|
|
|
|
DHCPLEASEDURATION = "M|list|DHCP lease duration|1h,2h,4h,6h,8h,10h,12h,14h,24h|1h",
|
|
|
|
DHCPMODE = "M|list|DHCP Mode|proxy,direct|proxy",
|
|
|
|
DNSDOMAIN = "M|text|Nom de la zone DNS (ex: cadol.es)",
|
|
|
|
DHCPRANGE = "O|text|DNSMASQ compatible DHCP Range" ]
|
|
|
|
VCPU = "2"
|