change resource alloc and fix networking configs
This commit is contained in:
parent
850ac39e02
commit
2e72a9a628
1 changed files with 3 additions and 3 deletions
6
jobs/user-vms/distro.hcl
Normal file → Executable file
6
jobs/user-vms/distro.hcl
Normal file → Executable 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/",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue