2 commits - generic/fedora-20-i386-cloud.ks generic/fedora-20-i386.ks generic/fedora-20-i386-minimal.ks generic/fedora-20-x86_64-cloud.ks generic/fedora-20-x86_64.ks generic/fedora-20-x86_64-minimal.ks

Matthew Miller mattdm at fedoraproject.org
Tue Aug 6 15:18:40 UTC 2013


 generic/fedora-20-i386-cloud.ks     |    7 +++++--
 generic/fedora-20-i386-minimal.ks   |    7 +++++--
 generic/fedora-20-i386.ks           |    7 +++++--
 generic/fedora-20-x86_64-cloud.ks   |    7 +++++--
 generic/fedora-20-x86_64-minimal.ks |    8 ++++++--
 generic/fedora-20-x86_64.ks         |    7 +++++--
 6 files changed, 31 insertions(+), 12 deletions(-)

New commits:
commit 77e12fc8583cef74b3688455448039f8f788d4da
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Tue Aug 6 11:18:23 2013 -0400

    Need to fixfiles as long as we are using appliance-creator

diff --git a/generic/fedora-20-i386-cloud.ks b/generic/fedora-20-i386-cloud.ks
index 1a0e056..456a1f9 100644
--- a/generic/fedora-20-i386-cloud.ks
+++ b/generic/fedora-20-i386-cloud.ks
@@ -231,6 +231,9 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
diff --git a/generic/fedora-20-i386-minimal.ks b/generic/fedora-20-i386-minimal.ks
index c21fa7b..c94c476 100644
--- a/generic/fedora-20-i386-minimal.ks
+++ b/generic/fedora-20-i386-minimal.ks
@@ -198,6 +198,9 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
diff --git a/generic/fedora-20-i386.ks b/generic/fedora-20-i386.ks
index 4f665ad..6509aa0 100644
--- a/generic/fedora-20-i386.ks
+++ b/generic/fedora-20-i386.ks
@@ -190,6 +190,9 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
diff --git a/generic/fedora-20-x86_64-cloud.ks b/generic/fedora-20-x86_64-cloud.ks
index 1401742..2158ae7 100644
--- a/generic/fedora-20-x86_64-cloud.ks
+++ b/generic/fedora-20-x86_64-cloud.ks
@@ -228,6 +228,9 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
diff --git a/generic/fedora-20-x86_64-minimal.ks b/generic/fedora-20-x86_64-minimal.ks
index 1058125..c28aee7 100644
--- a/generic/fedora-20-x86_64-minimal.ks
+++ b/generic/fedora-20-x86_64-minimal.ks
@@ -196,6 +196,10 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
diff --git a/generic/fedora-20-x86_64.ks b/generic/fedora-20-x86_64.ks
index d21dae1..1e788c5 100644
--- a/generic/fedora-20-x86_64.ks
+++ b/generic/fedora-20-x86_64.ks
@@ -188,6 +188,9 @@ echo "Cleaning old yum repodata."
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
+echo "Fixing SELinux contexts."
+/usr/sbin/fixfiles -R -a restore
+
 echo "Zeroing out empty space."
 # This forces the filesystem to reclaim space from deleted files
 dd bs=1M if=/dev/zero of=/var/tmp/zeros || :


commit a214b7b05633fbacbc999cfb1662604800be0da3
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Fri Jul 19 09:33:24 2013 -0400

    dracut has (sensibly) reorganized its config-file subpackages

diff --git a/generic/fedora-20-i386-cloud.ks b/generic/fedora-20-i386-cloud.ks
index 2312230..1a0e056 100644
--- a/generic/fedora-20-i386-cloud.ks
+++ b/generic/fedora-20-i386-cloud.ks
@@ -45,8 +45,8 @@ grubby
 kernel-PAE
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # cloud-init does magical things with EC2 metadata, including provisioning
 # a user account with ssh keys.
diff --git a/generic/fedora-20-i386-minimal.ks b/generic/fedora-20-i386-minimal.ks
index 7ff7d58..c21fa7b 100644
--- a/generic/fedora-20-i386-minimal.ks
+++ b/generic/fedora-20-i386-minimal.ks
@@ -48,8 +48,8 @@ grubby
 kernel-PAE
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # Not needed with pv-grub (as in EC2), and pulled in automatically
 # by anaconda, but appliance-creator needs the hint
diff --git a/generic/fedora-20-i386.ks b/generic/fedora-20-i386.ks
index 29ae9c4..4f665ad 100644
--- a/generic/fedora-20-i386.ks
+++ b/generic/fedora-20-i386.ks
@@ -43,8 +43,8 @@ grubby
 kernel-PAE
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # Not needed with pv-grub (as in EC2), and pulled in automatically
 # by anaconda, but appliance-creator needs the hint
diff --git a/generic/fedora-20-x86_64-cloud.ks b/generic/fedora-20-x86_64-cloud.ks
index f75ee4a..1401742 100644
--- a/generic/fedora-20-x86_64-cloud.ks
+++ b/generic/fedora-20-x86_64-cloud.ks
@@ -53,8 +53,8 @@ cloud-init
 cloud-utils-growpart
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # Not needed with pv-grub (as in EC2), and pulled in automatically
 # by anaconda, but appliance-creator needs the hint
diff --git a/generic/fedora-20-x86_64-minimal.ks b/generic/fedora-20-x86_64-minimal.ks
index e625acb..1058125 100644
--- a/generic/fedora-20-x86_64-minimal.ks
+++ b/generic/fedora-20-x86_64-minimal.ks
@@ -53,8 +53,8 @@ kernel
 syslinux-extlinux 
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # Needed initially, but removed below.
 firewalld
diff --git a/generic/fedora-20-x86_64.ks b/generic/fedora-20-x86_64.ks
index bb8d889..d21dae1 100644
--- a/generic/fedora-20-x86_64.ks
+++ b/generic/fedora-20-x86_64.ks
@@ -44,8 +44,8 @@ grubby
 kernel
 
 # We need this image to be portable; also, rescue mode isn't useful here.
-dracut-nohostonly
-dracut-norescue
+dracut-config-generic
+-dracut-config-rescue
 
 # Not needed with pv-grub (as in EC2), and pulled in automatically
 # by anaconda, but appliance-creator needs the hint




More information about the cloud mailing list