File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed
Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ variant: fcos
2+ version: 1.5.0
3+ boot_device:
4+ mirror:
5+ devices:
6+ - /dev/vda
7+ - /dev/vdb
Original file line number Diff line number Diff line change 1+ ../../data/libtest.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # # kola:
3+ # # # additionalDisks is only supported on qemu.
4+ # # platforms: qemu
5+ # # # Root reprovisioning requires at least 4GiB of memory.
6+ # # minMemory: 4096
7+ # # # Linear RAID is setup on these disks.
8+ # # additionalDisks: ["10G"]
9+ # # # This test includes a lot of disk I/O and needs a higher
10+ # # # timeout value than the default.
11+ # # timeoutMin: 15
12+ # # description: Verify updating multiple EFIs with RAID 1 works.
13+
14+ set -xeuo pipefail
15+
16+ # shellcheck disable=SC1091
17+ . " $KOLA_EXT_DATA /libtest.sh"
18+
19+ srcdev=$( findmnt -nvr /sysroot -o SOURCE)
20+ [[ ${srcdev} == " /dev/md126" ]]
21+
22+ blktype=$( lsblk -o TYPE " ${srcdev} " --noheadings)
23+ [[ ${blktype} == " raid1" ]]
24+
25+ fstype=$( findmnt -nvr /sysroot -o FSTYPE)
26+ [[ ${fstype} == " xfs" ]]
27+ ok " source is XFS on RAID1 device"
28+
29+
30+ mount -o remount,rw /boot
31+
32+ rm -f -v /boot/bootupd-state.json
33+
34+ bootupctl adopt-and-update | grep " Adopted and updated: EFI"
35+
36+ bootupctl status | grep " Component EFI"
37+ ok " bootupctl adopt-and-update supports multiple EFIs on RAID1"
You can’t perform that action at this time.
0 commit comments