generic/fedora-20-cloud.ks | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 37b3065b9ee1a42c8c956cc6c6d98a8737743613
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Wed Sep 25 08:37:59 2013 -0400
cloud-init kludges removed as they're fixed in the package now
diff --git a/generic/fedora-20-cloud.ks b/generic/fedora-20-cloud.ks
index cda0edf..e58941b 100644
--- a/generic/fedora-20-cloud.ks
+++ b/generic/fedora-20-cloud.ks
@@ -221,11 +221,6 @@ fi
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
-# workaround
https://bugzilla.redhat.com/show_bug.cgi?id=966888
-if ! grep -q growpart /etc/cloud/cloud.cfg; then
- sed -i 's/ - resizefs/ - growpart\n - resizefs/' /etc/cloud/cloud.cfg
-fi
-
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
@@ -234,10 +229,6 @@ fi
#disable_root: 0
#EOF
-# This is a temporary fix to change the default user to "fedora"; this
-# change will be in an upcoming cloud-init update
-sed -i 's/ec2-user/fedora/;s/EC2 user/Fedora Cloud User/' /etc/cloud/cloud.cfg
-
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed