2013-11-01 21:48:21 +00:00
|
|
|
%include fedora-cloud-base.ks
|
|
|
|
|
2013-10-26 13:41:43 +00:00
|
|
|
%packages
|
|
|
|
kernel
|
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ ! -e /etc/sysconfig/kernel ]; then
|
|
|
|
echo "Creating /etc/sysconfig/kernel."
|
|
|
|
cat <<EOF > /etc/sysconfig/kernel
|
|
|
|
# UPDATEDEFAULT specifies if new-kernel-pkg should make
|
|
|
|
# new kernels the default
|
|
|
|
UPDATEDEFAULT=yes
|
|
|
|
|
|
|
|
# DEFAULTKERNEL specifies the default kernel package type
|
|
|
|
DEFAULTKERNEL=kernel
|
|
|
|
EOF
|
|
|
|
fi
|