change resource alloc and fix networking configs

This commit is contained in:
James Hackett 2023-03-22 01:38:22 +00:00
parent 850ac39e02
commit 2e72a9a628

6
jobs/user-vms/distro.hcl Normal file → Executable file
View file

@ -18,8 +18,8 @@ job "distro-vm" {
} }
resources { resources {
cpu = 1000 cpu = 12000
memory = 1024 memory = 4096
} }
artifact { artifact {
@ -41,7 +41,7 @@ job "distro-vm" {
"-netdev", "-netdev",
"bridge,id=hn0", "bridge,id=hn0",
"-device", "-device",
"virtio-net-pci,netdev=hn0,id=nic1", "virtio-net-pci,netdev=hn0,id=nic1,mac=52:54:84:ba:49:01",
"-smbios", "-smbios",
"type=1,serial=ds=nocloud-net;s=http://136.206.16.5:8000/distro-vm/", "type=1,serial=ds=nocloud-net;s=http://136.206.16.5:8000/distro-vm/",
] ]