generic/fedora-20-i386-cloud.ks | 3 +++
generic/fedora-20-i386-minimal.ks | 3 +++
generic/fedora-20-i386.ks | 3 +++
generic/fedora-20-x86_64-cloud.ks | 3 +++
generic/fedora-20-x86_64-minimal.ks | 3 +++
generic/fedora-20-x86_64.ks | 3 +++
6 files changed, 18 insertions(+)
New commits:
commit a5f27b0daaff1f21448222342d539a7b57173456
Author: Matthew Miller <mattdm(a)mattdm.org>
Date: Fri Jul 5 10:06:02 2013 -0400
remove /var/lib/random-seed so it's not the same in every image
diff --git a/generic/fedora-20-i386-cloud.ks b/generic/fedora-20-i386-cloud.ks
index 30c60eb..2312230 100644
--- a/generic/fedora-20-i386-cloud.ks
+++ b/generic/fedora-20-i386-cloud.ks
@@ -224,6 +224,9 @@ fi
# 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
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log
diff --git a/generic/fedora-20-i386-minimal.ks b/generic/fedora-20-i386-minimal.ks
index b2cd8e7..7ff7d58 100644
--- a/generic/fedora-20-i386-minimal.ks
+++ b/generic/fedora-20-i386-minimal.ks
@@ -191,6 +191,9 @@ fi
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
+echo "Removing random-seed so it's not the same in every image."
+rm -f /var/lib/random-seed
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log
diff --git a/generic/fedora-20-i386.ks b/generic/fedora-20-i386.ks
index 4071f85..29ae9c4 100644
--- a/generic/fedora-20-i386.ks
+++ b/generic/fedora-20-i386.ks
@@ -183,6 +183,9 @@ fi
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
+echo "Removing random-seed so it's not the same in every image."
+rm -f /var/lib/random-seed
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log
diff --git a/generic/fedora-20-x86_64-cloud.ks b/generic/fedora-20-x86_64-cloud.ks
index 1e2512f..f75ee4a 100644
--- a/generic/fedora-20-x86_64-cloud.ks
+++ b/generic/fedora-20-x86_64-cloud.ks
@@ -221,6 +221,9 @@ fi
# 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
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log
diff --git a/generic/fedora-20-x86_64-minimal.ks b/generic/fedora-20-x86_64-minimal.ks
index 3f64ec5..e625acb 100644
--- a/generic/fedora-20-x86_64-minimal.ks
+++ b/generic/fedora-20-x86_64-minimal.ks
@@ -189,6 +189,9 @@ fi
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
+echo "Removing random-seed so it's not the same in every image."
+rm -f /var/lib/random-seed
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log
diff --git a/generic/fedora-20-x86_64.ks b/generic/fedora-20-x86_64.ks
index 0f5799d..bb8d889 100644
--- a/generic/fedora-20-x86_64.ks
+++ b/generic/fedora-20-x86_64.ks
@@ -181,6 +181,9 @@ fi
# make sure firstboot doesn't start
echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
+echo "Removing random-seed so it's not the same in every image."
+rm -f /var/lib/random-seed
+
echo "Cleaning old yum repodata."
yum clean all
truncate -c -s 0 /var/log/yum.log