qubes-installer-qubes-os/anaconda/tests/kickstart_tests/basic-ostree.ks
M. Vefa Bicakci 38f3e28d77
anaconda: Update to 23.19.10
Use the output of

  git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1

from anaconda's git repository and fix-up merge conflicts.
2016-04-10 00:00:00 -04:00

38 lines
761 B
Plaintext

# Substitute something in for REPO or this will all come crashing down.
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=REPO --ref=fedora-atomic/rawhide/x86_64/base/core
install
network --bootproto=dhcp
bootloader --timeout=1
zerombr
clearpart --all
autopart
keyboard us
lang en
timezone America/New_York
rootpw qweqwe
shutdown
%post
cat <<EOF > /lib/systemd/system/default.target.wants/run-test.service
[Unit]
Description=Run a test to see if anaconda+ostree worked
After=basic.target
[Service]
Type=oneshot
ExecStart=/usr/bin/run-test.sh
EOF
cat <<EOF > /usr/bin/run-test.sh
#!/bin/bash
# For now, just the fact that we rebooted is good enough.
echo SUCCESS > /root/RESULT
shutdown -h now
EOF
chmod +x /usr/bin/run-test.sh
%end