Generate libvirt config files

This commit is contained in:
Pim van Pelt
2023-11-19 18:19:59 +00:00
parent 4ca17edf61
commit b14e7674ad
17 changed files with 3800 additions and 1 deletions

2
create
View File

@ -42,4 +42,6 @@ for VM in $VMS; do
ssh root@$HVN "cd $STAGING/$VM; for s in root/lab-build/*; do chroot $STAGING/$VM /bin/bash /\$s; done"
echo "[$VM] Unmounting and snapshotting pristine state"
ssh root@$HVN "umount $STAGING/$VM; zfs snapshot vol0/${VM}@pristine"
echo "[$VM] Copying libvirt config"
scp -q build/${BUILD}/${HVN}/${VM}/root/libvirt.xml root@$HVN:${LABDIR}/${VM}.xml
done