Skip to content

Commit

Permalink
restore ubuntu machine type
Browse files Browse the repository at this point in the history
The permanent vm machine type must be preserved so the guest variant
will have the right variant restriction but the version controlled
machine type will be updated at the vms (and should not affect the
entire guest OS configuraiton scope).

TODO: Squash down.
  • Loading branch information
pevogam committed Jan 27, 2025
1 parent c80c521 commit 9dbd31e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion tp_folder/configs/guest-os.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ variants:
floppy_name = images/rhel80-64/ks.vfd

- Ubuntu:
machine_type = pc-i440fx-5.1
grub_file = /boot/grub/grub.cfg
shell_prompt = "^.*@.*[\#\$]\s*$"
password = test1234
Expand Down
2 changes: 1 addition & 1 deletion tp_folder/configs/guest.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ variants:

# Runs our standard vm configuration for an Ubuntu machine
- @qemu_kvm_ubuntu:
only q35
only i440fx
only virtio_net
only smp2
only virtio_blk
Expand Down
1 change: 1 addition & 0 deletions tp_folder/configs/vms.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ variants:
permanent_vm = yes
images_base_dir += vm3/
# software and hardware restrictions
machine_type = pc-i440fx-5.1
only qemu_kvm_ubuntu, qemu_kvm_kali
suffix _vm3

Expand Down

0 comments on commit 9dbd31e

Please sign in to comment.