1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-21 23:03:08 +00:00
createhdds/desktop.ks
Lukáš Růžička d982ca73e7 Add a postinstall section to leave a trace in the home directory.
This PR adds the post-installation section that adds a file
in the /home space, which then can be checked by a `preserve_home`
post-installation test and prove that it was possible to
preserve home on btrfs layouts.
2021-01-08 10:22:20 +01:00

27 lines
811 B
Plaintext

install
bootloader --location=mbr
network --bootproto=dhcp
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
# contains fix for fwupd affecting GNOME Software. Remove when
# fwupd-1.5.1-2 updates goes stable
repo --name=fwupd1512 --baseurl=https://www.happyassassin.net/temp/fwupd1512/$releasever/$basearch
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
clearpart --all
autopart
rootpw --plaintext weakpassword
user --name=test --password=weakpassword --plaintext
firstboot --enable
poweroff
%packages
@^workstation-product-environment
-selinux-policy-minimum
%end
%post
touch $INSTALL_ROOT/home/home_preserved
%end