network try
This commit is contained in:
15
grail.tf
15
grail.tf
@@ -30,13 +30,14 @@ resource "proxmox_vm_qemu" "grail" {
|
||||
# size = "400G"
|
||||
#}
|
||||
|
||||
#network {
|
||||
# name = "eth0"
|
||||
# bridge = "vmbr0"
|
||||
# ip = "192.168.0.57/24"
|
||||
# gw = "192.168.0.1"
|
||||
|
||||
#}
|
||||
network {
|
||||
name = "eth0"
|
||||
model = "virtio"
|
||||
bridge = "vmbr0"
|
||||
firewall = false
|
||||
ip = "192.168.0.57/24"
|
||||
gw = "192.168.0.1"
|
||||
}
|
||||
|
||||
#provisioner "local-exec" {
|
||||
# command = "./.ansible.d/setup.sh $IP"
|
||||
|
||||
@@ -36,3 +36,9 @@ provider "proxmox" {
|
||||
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