Create and attach virtual disks #7

Merged
antman merged 9 commits from create-and-attach-virtual-disks into main 2026-07-29 06:53:19 +00:00
Owner

Motivation

We want to create virtual machines that are representative of the physical server configuration. This means we want a pool of HDDs that we can create a zfs pool from

Solution

By creating virtual disk files on the host every time start a test run we should have clean test data (blank discs). We then "temporarily" attach the virtual discs to the virtual machine.

Reference: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-virtualization-virtualized_block_devices-adding_storage_devices_to_guests

### Motivation We want to create virtual machines that are representative of the physical server configuration. This means we want a pool of HDDs that we can create a zfs pool from ### Solution By creating virtual disk files on the host every time start a test run we should have clean test data (blank discs). We then "temporarily" attach the virtual discs to the virtual machine. Reference: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-virtualization-virtualized_block_devices-adding_storage_devices_to_guests
create and attach virtual disks
Some checks failed
/ build-and-test (push) Failing after 1m4s
3e66ef8ac5
fixed bug
All checks were successful
/ build-and-test (push) Successful in 4m57s
15b424cb24
try login and check for disks
All checks were successful
/ build-and-test (push) Successful in 5m1s
904805ef7e
wait slightly longer for vm before attaching disks
All checks were successful
/ build-and-test (push) Successful in 5m3s
331e816007
more reliably attached discs
Some checks failed
/ build-and-test (push) Failing after 5m28s
a2b5ebd055
lol
All checks were successful
/ build-and-test (push) Successful in 5m2s
0d01d8b36c
serialized disk attachment
All checks were successful
/ build-and-test (push) Successful in 5m2s
23a10d52be
Improve untilPromptReturned
Some checks failed
/ build-and-test (push) Failing after 4m51s
cc56613caf
lol prompt tokens change
All checks were successful
/ build-and-test (push) Successful in 4m39s
26adfb2b30
antman scheduled this pull request to auto merge when all checks succeed 2026-07-29 06:49:00 +00:00
antman merged commit 54f174ddce into main 2026-07-29 06:53:19 +00:00
antman deleted branch create-and-attach-virtual-disks 2026-07-29 06:53:20 +00:00
antman referenced this pull request from a commit 2026-07-29 06:53:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/os-installer!7
No description provided.