qubes-installer-qubes-os/anaconda/tests/kickstart_tests/groups-and-envs-1.ks
Marek Marczykowski-Górecki 701ced5ddb anaconda: update to 22.20.13-1
Apply diff anaconda-21.48.21-1..anaconda-22.20.13-1
2016-03-22 02:27:17 +13:00

39 lines
813 B
Plaintext

url --url=http://dl.fedoraproject.org/pub/fedora/linux/development/$releasever/$basearch/os/
install
network --bootproto=dhcp
bootloader --timeout=1
zerombr
clearpart --all
part --fstype=ext4 --size=4400 /
part --fstype=ext4 --size=500 /boot
part --fstype=swap --size=500 swap
keyboard us
lang en
timezone America/New_York
rootpw qweqwe
shutdown
%packages
@core
@c-development
@^web-server-environment
%end
%post
# We don't have a way of determining if a group/env is installed or not.
# These sentinel packages will have to do.
rpm -q httpd
if [[ $? != 0 ]]; then
echo '*** web-server-environment was not installed' > /root/RESULT
else
rpm -q gcc
if [[ $? != 0 ]]; then
echo '*** c-development was not installed' > /root/RESULT
else
echo SUCCESS > /root/RESULT
fi
fi
%end