qubes-installer-qubes-os/anaconda/tests/kickstart_tests/timezoneLOCAL.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

40 lines
749 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
rootpw testcase
shutdown
%packages
%end
%post
## UTC ZONE TEST
# hwclock LOCAL test
hwclock -D | grep "Assuming hardware clock is kept in local time."
if [[ $? -ne 0 ]]; then
echo "*** hwclock not set to LOCAL time." >> /root/RESULT
fi
# cat adjtime LOCAL test
cat /etc/adjtime | grep LOCAL
if [[ $? -ne 0 ]]; then
echo "*** Time in /etc/adjtime is not set to LOCAL." >> /root/RESULT
fi
# everything passes
if [[ ! -e /root/RESULT ]]; then
echo SUCCESS > /root/RESULT
fi
%end