cloud: set / to 3g due to anaconda requirements, remove unneeded files

This commit is contained in:
Dennis Gilmore 2014-05-01 15:01:22 -05:00
parent d998406bae
commit c847f5b78f
3 changed files with 1 additions and 39 deletions

View File

@ -29,7 +29,7 @@ services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config
zerombr zerombr
clearpart --all clearpart --all
part / --size 1000 --fstype ext4 part / --size 3000 --fstype ext4
%include fedora-repo.ks %include fedora-repo.ks

View File

@ -1,20 +0,0 @@
%include fedora-cloud-base.ks
# Package list.
%packages
kernel-PAE
%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-PAE
EOF
fi
%end

View File

@ -1,18 +0,0 @@
%include fedora-cloud-base.ks
%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