chore: move omada to 201
This commit is contained in:
@@ -1,59 +0,0 @@
|
|||||||
resource "proxmox_lxc" "netbox" {
|
|
||||||
|
|
||||||
target_node = "pve"
|
|
||||||
vmid = "201"
|
|
||||||
hostname = "netbox"
|
|
||||||
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
|
||||||
password = var.ci_password
|
|
||||||
unprivileged = false
|
|
||||||
ostype = "debian"
|
|
||||||
onboot = true
|
|
||||||
start = true
|
|
||||||
startup = "order=1000"
|
|
||||||
tags = "docker;container;appliance"
|
|
||||||
|
|
||||||
|
|
||||||
ssh_public_keys = <<EOF
|
|
||||||
${var.ssh_key}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
memory = "4096"
|
|
||||||
swap = "512"
|
|
||||||
|
|
||||||
rootfs {
|
|
||||||
storage = "local"
|
|
||||||
size = "8G"
|
|
||||||
}
|
|
||||||
|
|
||||||
features {
|
|
||||||
fuse = true
|
|
||||||
nesting = true
|
|
||||||
mount = "nfs;cifs"
|
|
||||||
}
|
|
||||||
|
|
||||||
// Bind Mount Point
|
|
||||||
mountpoint {
|
|
||||||
key = "1"
|
|
||||||
slot = 1
|
|
||||||
//storage = "/mnt/lxc/omada"
|
|
||||||
volume = "/mnt/lxc/netbox"
|
|
||||||
size = "1G"
|
|
||||||
mp = "/data"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
network {
|
|
||||||
name = "eth0"
|
|
||||||
bridge = "vmbr0"
|
|
||||||
ip = "10.10.10.10/24"
|
|
||||||
gw = "10.10.10.1"
|
|
||||||
tag = 10
|
|
||||||
ip6 = "auto"
|
|
||||||
}
|
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = [
|
|
||||||
mountpoint,
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,7 +1,7 @@
|
|||||||
resource "proxmox_lxc" "omada" {
|
resource "proxmox_lxc" "omada" {
|
||||||
|
|
||||||
target_node = "pve"
|
target_node = "pve"
|
||||||
vmid = "202"
|
vmid = "201"
|
||||||
hostname = "omada"
|
hostname = "omada"
|
||||||
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
password = var.ci_password
|
password = var.ci_password
|
Reference in New Issue
Block a user