You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/anaconda/tests/kickstart_tests/groups-and-envs-1.ks

39 lines
813 B

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