From 32f645b3ee56fa51b201fafc4229b17d8a771405 Mon Sep 17 00:00:00 2001 From: wizzdom Date: Sat, 3 Feb 2024 17:37:31 +0000 Subject: [PATCH] bastion-vm: use preconfigured image configures the bastion-vm job to use a preconfigured image rather than a base debian image with cloudinit configs. Tested: 27/01/2024 --- jobs/user-vms/bastion.hcl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jobs/user-vms/bastion.hcl b/jobs/user-vms/bastion.hcl index 88d82a4..967df3e 100644 --- a/jobs/user-vms/bastion.hcl +++ b/jobs/user-vms/bastion.hcl @@ -23,7 +23,7 @@ job "bastion-vm" { } artifact { - source = "http://10.10.0.5:8000/base-images/debian-12-genericcloud-amd64-30G.qcow2" + source = "http://10.10.0.5:8000/base-images/bastion-vm-latest.qcow2" destination = "local/bastion-vm.qcow2" mode = "file" } @@ -41,7 +41,8 @@ job "bastion-vm" { "-device", "virtio-net-pci,netdev=hn0,id=nic1,mac=52:54:84:ba:49:02", "-smbios", - "type=1,serial=ds=nocloud-net;s=http://10.10.0.5:8000/bastion-vm/", + #"type=1,serial=ds=nocloud-net;s=http://10.10.0.5:8000/bastion-vm/", + "type=1", ] } }