diff --git a/jobs/user-vms/mojito.hcl b/jobs/user-vms/mojito.hcl deleted file mode 100644 index 2d320a8..0000000 --- a/jobs/user-vms/mojito.hcl +++ /dev/null @@ -1,52 +0,0 @@ -job "mojito-vm" { - datacenters = ["aperture"] - - group "mojito-vm" { - - network { - mode = "host" - } - - service { - name = "mojito-vm" - } - - task "mojito-vm" { - constraint { - attribute = "${attr.unique.hostname}" - value = "wheatley" - } - - resources { - cpu = 1000 - memory = 1024 - } - - artifact { - source = "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-amd64.qcow2" - destination = "local/mojito-vm.qcow2" - mode = "file" - } - - driver = "qemu" - - config { - image_path = "local/mojito-vm.qcow2" - - accelerator = "kvm" - - drive_interface = "virtio" - - args = [ - "-netdev", - "bridge,id=hn0", - "-device", - "virtio-net-pci,netdev=hn0,id=nic1", - "-smbios", - "type=1,serial=ds=nocloud-net;s=http://136.206.16.5:8000/mojito-vm/", - ] - } - } - } -} -