New VM arkivet
This commit is contained in:
parent
428b76d3d2
commit
4cf62db46c
1 changed files with 46 additions and 0 deletions
46
terraform/arkivet.tf
Normal file
46
terraform/arkivet.tf
Normal file
|
@ -0,0 +1,46 @@
|
|||
resource "proxmox_vm_qemu" "arkivet" {
|
||||
name = "arkivet"
|
||||
desc = "arkivet"
|
||||
target_node = "hyperion"
|
||||
|
||||
agent = 1
|
||||
onboot = true
|
||||
|
||||
clone = "VM 9000"
|
||||
cores = 4
|
||||
sockets = 1
|
||||
cpu = "host"
|
||||
memory = 2048
|
||||
|
||||
# Setup the disk
|
||||
disks {
|
||||
ide {
|
||||
ide2 {
|
||||
cloudinit {
|
||||
storage = "cronus_backup"
|
||||
}
|
||||
}
|
||||
}
|
||||
scsi {
|
||||
scsi0 {
|
||||
disk {
|
||||
size = "15G"
|
||||
storage = "maskin"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
network {
|
||||
bridge = "vmbr0"
|
||||
model = "virtio"
|
||||
}
|
||||
scsihw = "virtio-scsi-pci"
|
||||
os_type = "cloud-init"
|
||||
ipconfig0 = "ip=192.168.1.55/24,gw=192.168.1.1"
|
||||
nameserver = "192.168.1.69"
|
||||
ciuser = "ansible"
|
||||
sshkeys = var.ssh_public_key
|
||||
}
|
Loading…
Reference in a new issue