network try
This commit is contained in:
15
grail.tf
15
grail.tf
@@ -30,13 +30,14 @@ resource "proxmox_vm_qemu" "grail" {
|
|||||||
# size = "400G"
|
# size = "400G"
|
||||||
#}
|
#}
|
||||||
|
|
||||||
#network {
|
network {
|
||||||
# name = "eth0"
|
name = "eth0"
|
||||||
# bridge = "vmbr0"
|
model = "virtio"
|
||||||
# ip = "192.168.0.57/24"
|
bridge = "vmbr0"
|
||||||
# gw = "192.168.0.1"
|
firewall = false
|
||||||
|
ip = "192.168.0.57/24"
|
||||||
#}
|
gw = "192.168.0.1"
|
||||||
|
}
|
||||||
|
|
||||||
#provisioner "local-exec" {
|
#provisioner "local-exec" {
|
||||||
# command = "./.ansible.d/setup.sh $IP"
|
# command = "./.ansible.d/setup.sh $IP"
|
||||||
|
|||||||
@@ -35,4 +35,10 @@ provider "proxmox" {
|
|||||||
# (Optional) Skip TLS Verification
|
# (Optional) Skip TLS Verification
|
||||||
pm_tls_insecure = true
|
pm_tls_insecure = true
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
module "vm" {
|
||||||
|
source = "rkoosaar/vm/proxmox"
|
||||||
|
version = "0.0.8"
|
||||||
|
# insert the 43 required variables here
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user