bb57558603
Use anaconda to install the root.tar.xz into a disk image. Copy the
disk image to the host, and use the cockpit vm support to boot it and
test it.
Cherry-picked from 4705ff3b1e
Related: rhbz#1770193
22 lines
449 B
Bash
Executable File
22 lines
449 B
Bash
Executable File
#!/bin/bash
|
|
# Note: execute this file from the project root directory
|
|
|
|
#####
|
|
#
|
|
# Test the liveimg installed tar disk image
|
|
#
|
|
#####
|
|
|
|
set -e
|
|
|
|
. /usr/share/beakerlib/beakerlib.sh
|
|
. $(dirname $0)/lib/lib.sh
|
|
|
|
rlJournalStart
|
|
rlPhaseStartTest "Verify VM instance"
|
|
# Just the fact that this is running means the image can boot and ssh is working
|
|
rlAssertExists "/root/.ssh/authorized_keys"
|
|
rlPhaseEnd
|
|
rlJournalEnd
|
|
rlJournalPrintText
|