mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-12 16:21:27 +00:00
d982ca73e7
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.
21 lines
477 B
Plaintext
21 lines
477 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
|
|
lang en_US.UTF-8
|
|
keyboard us
|
|
timezone --utc America/New_York
|
|
clearpart --all
|
|
autopart
|
|
rootpw weakpassword
|
|
poweroff
|
|
|
|
%packages
|
|
@core
|
|
%end
|
|
|
|
%post
|
|
touch $INSTALL_ROOT/home/home_preserved
|
|
%end
|