Joshua Boniface
94e0287fc4
Add missing modules to default cloud-init
2024-01-21 14:23:44 -05:00
Joshua Boniface
123c7ce857
Update copyright header on all files for 2024
...
Last release of 2023 is probably the best time to do this.
2023-12-29 11:16:59 -05:00
Joshua Boniface
f01c12c86b
Import from pvcworkerd not pvcapid
2023-12-09 12:22:19 -05:00
Joshua Boniface
0bda095571
Move libvirt_schema and fix other imports
2023-12-09 12:20:29 -05:00
Joshua Boniface
7976e1d2d0
Correct import location in scripts
2023-12-09 12:18:33 -05:00
Joshua Boniface
815041ff20
Fix bugs when main installs fail
2023-11-16 18:20:26 -05:00
Joshua Boniface
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
Joshua Boniface
e298d10561
Ensure ACPI is included in Deb VMs
2023-08-17 11:16:08 -04:00
Joshua Boniface
fc8cf9ed44
Ensure consistency in variable names and fix bug
2023-08-17 11:09:51 -04:00
Joshua Boniface
8135426973
Fix bad ref in example scripts
2022-11-18 12:54:28 -05:00
Joshua Boniface
20d436a745
Update description
2022-11-16 22:48:40 -05:00
Joshua Boniface
28f6819726
Fix up remaining bugs in Rinse test script
2022-11-16 13:32:24 -05:00
Joshua Boniface
35c07f0384
Ensure transient dirs are cleaned up
2022-11-16 13:01:15 -05:00
Joshua Boniface
6127387be4
Ensure swap is skipped during cleanup too
2022-11-16 12:52:24 -05:00
Joshua Boniface
343d66875b
Skip swap volumes during mounting
2022-11-16 12:42:28 -05:00
Joshua Boniface
46dde055c4
Move /dev umount to cleanup step
2022-10-21 14:47:48 -04:00
Joshua Boniface
62d5ff11df
Fix console config and domain argument
2022-10-21 14:04:17 -04:00
Joshua Boniface
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
Joshua Boniface
d46133802b
Add pfsense example provisioner script
2022-10-21 13:35:48 -04:00
Joshua Boniface
89f05ced3f
Add missing ceph import
2022-10-19 13:10:40 -04:00
Joshua Boniface
729481126c
Move conversion to install() step
...
Seems more clear to me than doing it in prepare()
2022-10-19 13:09:29 -04:00
Joshua Boniface
41eccb9c7d
Add missing imports
2022-10-19 13:07:34 -04:00
Joshua Boniface
e550e39a5a
Add output messages during OVA prepare
2022-10-19 12:58:11 -04:00
Joshua Boniface
e26ff8a975
Fix missing f-string marker
2022-10-15 16:26:47 -04:00
Joshua Boniface
a34d64a71b
Add rinse example configuration
...
Provisions Rocky Linux 8 and 9 systems, and potentially older
CentOS/Fedora/Scientific Linux/SuSE systems. Depends on a custom build
of rinse (3.7.1) with Rocky 9 support.
2022-10-07 19:55:56 -04:00
Joshua Boniface
45c9909428
Add output message to debootstrap install
2022-10-07 02:27:20 -04:00
Joshua Boniface
7268592c87
Fix braces in fstring example
2022-10-06 15:57:31 -04:00
Joshua Boniface
39e1fc50ed
Fix titles
2022-10-06 11:54:36 -04:00
Joshua Boniface
bffab7a5a1
Reverse numbering of example scripts
2022-10-06 10:14:37 -04:00
Joshua Boniface
6cbaeb5dc8
Complete OVA provisioning script
2022-10-06 10:14:04 -04:00
Joshua Boniface
3a5d8c61da
Reorganize and add more comments to examples
2022-10-05 23:35:53 -04:00
Joshua Boniface
1e0b502250
Fix remaining bugs in example scripts
2022-10-05 22:37:11 -04:00
Joshua Boniface
8aaac33056
Fix bad variable reference
2022-10-05 17:43:23 -04:00
Joshua Boniface
cc7952c232
Add additional import for config
2022-10-05 17:41:37 -04:00
Joshua Boniface
2c624ceb2c
Add additional missing import in examples
2022-10-05 17:29:34 -04:00
Joshua Boniface
47b0704555
Fix bad ref in examples
2022-10-05 17:25:56 -04:00
Joshua Boniface
7c49967586
Add proper imports to examples
2022-10-05 17:22:04 -04:00
Joshua Boniface
4df70cf086
Implement new provisioner setup
2022-10-05 16:03:05 -04:00
Joshua Boniface
c41664d2da
Reformat code with Black code formatter
...
Unify the code style along PEP and Black principles using the tool.
2021-11-06 03:02:43 -04:00
Joshua Boniface
8c975e5c46
Add chroot context manager example to debootstrap
...
Closes #132
2021-07-11 23:10:41 -04:00
Joshua Boniface
0bf276fd51
Update copyright year in headers
2021-03-25 17:01:55 -04:00
Joshua Boniface
f4ec161aa2
Update file copyright header.
...
Remove the option to select a later version of the GPL.
2021-03-25 16:58:02 -04:00
Joshua Boniface
fde8ea2fea
Lint: W291 trailing whitespace
2020-11-06 19:44:14 -05:00
Joshua Boniface
2d8f684fc8
Lint: E722 do not use bare 'except' (2)
2020-11-06 19:24:10 -05:00
Joshua Boniface
d9e7b7ec15
Lint: F401 <library> imported but unused
2020-11-06 19:22:49 -05:00
Joshua Boniface
b8852e116e
Improve handling of root disk in GRUB
...
Since vdX names become sdX names inside VMs, use the same setup as the
fstab in order to map this onto a static SCSI ID.
2020-03-02 10:02:39 -05:00
Joshua Boniface
4505b239eb
Rename API and common Debian packages
...
Closes #79
2020-02-08 18:50:38 -05:00