17 Commits

Author SHA1 Message Date
f01c12c86b Import from pvcworkerd not pvcapid 2023-12-09 12:22:19 -05:00
0bda095571 Move libvirt_schema and fix other imports 2023-12-09 12:20:29 -05:00
7976e1d2d0 Correct import location in scripts 2023-12-09 12:18:33 -05:00
815041ff20 Fix bugs when main installs fail 2023-11-16 18:20:26 -05:00
2a637c62e8 Port provisioner scripts to updated framework
Updates all the example provisioner scripts to use the new functions
exposed by the VMBuilder class as an illustration of how best to use
them.

Also adds a wrapper fail() handler to ensure the cleanup of the script,
as well as the global cleanup, are run on an exception.
2023-11-16 17:04:46 -05:00
e298d10561 Ensure ACPI is included in Deb VMs 2023-08-17 11:16:08 -04:00
fc8cf9ed44 Ensure consistency in variable names and fix bug 2023-08-17 11:09:51 -04:00
8135426973 Fix bad ref in example scripts 2022-11-18 12:54:28 -05:00
6127387be4 Ensure swap is skipped during cleanup too 2022-11-16 12:52:24 -05:00
343d66875b Skip swap volumes during mounting 2022-11-16 12:42:28 -05:00
46dde055c4 Move /dev umount to cleanup step 2022-10-21 14:47:48 -04:00
0019881cfa Add cloud-init configuration to debootstrap script
Prevents errors trying to find the cloud-init metadata source.
2022-10-21 14:03:34 -04:00
e26ff8a975 Fix missing f-string marker 2022-10-15 16:26:47 -04:00
45c9909428 Add output message to debootstrap install 2022-10-07 02:27:20 -04:00
7268592c87 Fix braces in fstring example 2022-10-06 15:57:31 -04:00
39e1fc50ed Fix titles 2022-10-06 11:54:36 -04:00
bffab7a5a1 Reverse numbering of example scripts 2022-10-06 10:14:37 -04:00