a
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-28 23:31:45 +00:00
parent 509814f3a8
commit 21c1fa5d9a

View File

@@ -19,7 +19,8 @@
"hint": "RAM to assign to the VM (in gigabytes)",
"placeholder": "8",
"required": true,
"env_variable": "WINDOWS_RAM_GB"
"env_variable": "WINDOWS_RAM_GB",
"default": "8"
},
{
"type": "number",
@@ -27,7 +28,8 @@
"hint": "CPU cores to assign to the VM",
"placeholder": "4",
"required": true,
"env_variable": "WINDOWS_CPU_CORES"
"env_variable": "WINDOWS_CPU_CORES",
"default": "4"
},
{
"type": "text",
@@ -35,7 +37,8 @@
"hint": "Internal VM IP on the tap/bridge network",
"placeholder": "100.100.0.2",
"required": true,
"env_variable": "VM_NET_IP"
"env_variable": "VM_NET_IP",
"default": "100.100.0.2"
},
{
"type": "text",
@@ -43,7 +46,8 @@
"hint": "Used for DHCP reservation (VM must use DHCP)",
"placeholder": "52:54:00:12:34:56",
"required": true,
"env_variable": "VM_MAC"
"env_variable": "VM_MAC",
"default": "52:54:00:12:34:56"
},
{
"type": "text",
@@ -51,7 +55,8 @@
"hint": "Linux bridge created inside the container for VM networking",
"placeholder": "br-rego-vpn",
"required": true,
"env_variable": "BRIDGE_NAME"
"env_variable": "BRIDGE_NAME",
"default": "br-rego-vpn"
},
{
"type": "text",
@@ -59,7 +64,8 @@
"hint": "Tap interface name used by QEMU",
"placeholder": "tap0",
"required": true,
"env_variable": "TAP_NAME"
"env_variable": "TAP_NAME",
"default": "tap0"
},
{
"type": "text",
@@ -67,7 +73,8 @@
"hint": "Bridge address/CIDR assigned inside the container",
"placeholder": "100.100.0.1/24",
"required": true,
"env_variable": "BRIDGE_CIDR"
"env_variable": "BRIDGE_CIDR",
"default": "100.100.0.1/24"
},
{
"type": "text",
@@ -75,7 +82,8 @@
"hint": "Subnet that should be NATed out of the container",
"placeholder": "100.100.0.0/24",
"required": true,
"env_variable": "VM_SUBNET"
"env_variable": "VM_SUBNET",
"default": "100.100.0.0/24"
},
{
"type": "text",
@@ -83,7 +91,8 @@
"hint": "Traffic to this IP is routed via the VM (VPN inside the VM)",
"placeholder": "10.35.33.230",
"required": true,
"env_variable": "TARGET_IP"
"env_variable": "TARGET_IP",
"default": "10.35.33.230"
},
{
"type": "text",
@@ -91,7 +100,8 @@
"hint": "DNS servers offered to the VM via DHCP",
"placeholder": "1.1.1.1,8.8.8.8",
"required": true,
"env_variable": "DNS_SERVERS"
"env_variable": "DNS_SERVERS",
"default": "1.1.1.1,8.8.8.8"
},
{
"type": "text",
@@ -99,7 +109,16 @@
"hint": "Lease duration (dnsmasq format, e.g. 12h)",
"placeholder": "12h",
"required": true,
"env_variable": "LEASE_TIME"
"env_variable": "LEASE_TIME",
"default": "288h"
},
{
"type": "text",
"label": "Host share directory",
"hint": "Directory on the host to share with the VM",
"placeholder": "/shared/app-data",
"required": false,
"env_variable": "HOST_SHARE_DIR"
}
],
"supported_architectures": ["amd64"]