38f3e28d77
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.
40 lines
739 B
Plaintext
40 lines
739 B
Plaintext
#version=DEVEL
|
|
url --url="http://dl.fedoraproject.org/pub/fedora/linux/development/$releasever/$basearch/os/"
|
|
install
|
|
network --bootproto=dhcp
|
|
|
|
bootloader --timeout=1
|
|
zerombr
|
|
clearpart --all --initlabel
|
|
autopart
|
|
|
|
keyboard en
|
|
lang en
|
|
timezone Europe/Prague --utc
|
|
rootpw testcase
|
|
|
|
shutdown
|
|
|
|
%packages
|
|
%end
|
|
|
|
%post
|
|
## UTC ZONE TEST
|
|
# hwclock -D UTC test
|
|
hwclock -D | grep "Assuming hardware clock is kept in UTC time."
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "*** hwclock not set to UTC.." >> /root/RESULT
|
|
fi
|
|
|
|
# cat adjtime UTC test
|
|
cat /etc/adjtime | grep UTC
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "*** Time in /etc/adjtime not set to UTC." >> /root/RESULT
|
|
fi
|
|
|
|
# everything passes
|
|
if [[ ! -e /root/RESULT ]]; then
|
|
echo SUCCESS > /root/RESULT
|
|
fi
|
|
%end
|