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