CI: update Rocky Linux to 8.8
- UEFI now has to be enabled - The root device is now `/dev/mapper/rocky-root` Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
165f8e414e
commit
90443f038d
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -531,8 +531,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
box:
|
box:
|
||||||
- fedora/38-cloud-base
|
- fedora/38-cloud-base
|
||||||
# v7.0.0 does not boot. v6.0.0 was not released.
|
- rockylinux/8@8.0.0
|
||||||
- rockylinux/8@5.0.0
|
|
||||||
env:
|
env:
|
||||||
BOX: ${{ matrix.box }}
|
BOX: ${{ matrix.box }}
|
||||||
|
|
||||||
|
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -29,11 +29,13 @@ Vagrant.configure("2") do |config|
|
|||||||
v.cpus = cpus
|
v.cpus = cpus
|
||||||
# Needs env var VAGRANT_EXPERIMENTAL="disks"
|
# Needs env var VAGRANT_EXPERIMENTAL="disks"
|
||||||
o.vm.disk :disk, size: "#{disk_size}GB", primary: true
|
o.vm.disk :disk, size: "#{disk_size}GB", primary: true
|
||||||
|
v.customize ["modifyvm", :id, "--firmware", "efi"]
|
||||||
end
|
end
|
||||||
config.vm.provider :libvirt do |v|
|
config.vm.provider :libvirt do |v|
|
||||||
v.memory = memory
|
v.memory = memory
|
||||||
v.cpus = cpus
|
v.cpus = cpus
|
||||||
v.machine_virtual_size = disk_size
|
v.machine_virtual_size = disk_size
|
||||||
|
v.loader = "/usr/share/OVMF/OVMF_CODE.fd"
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.synced_folder ".", "/vagrant", type: "rsync"
|
config.vm.synced_folder ".", "/vagrant", type: "rsync"
|
||||||
|
@ -34,6 +34,8 @@ if [[ "$df_line" =~ ^/dev/([a-z]+)([0-9+]) ]]; then
|
|||||||
echo "Unknown filesystem: $df_line"
|
echo "Unknown filesystem: $df_line"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
elif [[ "$df_line" =~ ^/dev/mapper/ ]]; then
|
||||||
|
echo "TODO: support device mapper: $df_line"
|
||||||
else
|
else
|
||||||
echo "Failed to parse: $df_line"
|
echo "Failed to parse: $df_line"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user