ec2/fedora-17-i386-ec2.ks | 13 +++++++++++++ ec2/fedora-17-x86_64-ec2.ks | 13 +++++++++++++ 2 files changed, 26 insertions(+)
New commits: commit a3e3b2f61787fc23b8e80af5127565e21ae5a430 Merge: 6b2831a 426e0f2 Author: Matthew Miller <mat...@mattdm.org> Date: Tue May 21 12:43:30 2013 -0400 Merge branch 'master' of ssh://git.fedorahosted.org/git/cloud-kickstarts commit 6b2831a26c09758c07f672d1aab1eedfee89df19 Author: Matthew Miller <mat...@mattdm.org> Date: Tue May 21 12:43:07 2013 -0400 /etc/sysconfig/kernel for f17 diff --git a/ec2/fedora-17-i386-ec2.ks b/ec2/fedora-17-i386-ec2.ks index 62aff35..32e2e0d 100644 --- a/ec2/fedora-17-i386-ec2.ks +++ b/ec2/fedora-17-i386-ec2.ks @@ -102,6 +102,19 @@ pushd /boot/grub ln -s grub.conf menu.lst popd +# appliance-creator does not make this important file. +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 + # setup systemd to boot to the right runlevel rm /etc/systemd/system/default.target ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target diff --git a/ec2/fedora-17-x86_64-ec2.ks b/ec2/fedora-17-x86_64-ec2.ks index b303859..e09e533 100644 --- a/ec2/fedora-17-x86_64-ec2.ks +++ b/ec2/fedora-17-x86_64-ec2.ks @@ -102,6 +102,19 @@ pushd /boot/grub ln -s grub.conf menu.lst popd +# appliance-creator does not make this important file. +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 + # setup systemd to boot to the right runlevel rm /etc/systemd/system/default.target ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target _______________________________________________ cloud mailing list cloud@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/cloud