fix up patch

This commit is contained in:
Dennis Gilmore 2012-03-13 12:23:48 -05:00
parent 9aba848932
commit 4921ca10b0
1 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
From 9a7726c67258adb346b78edfd754f28e132585f5 Mon Sep 17 00:00:00 2001
From cdbd090ceeaec09820f5fa78946fe7adcb7a2256 Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis@ausil.us>
Date: Tue, 13 Mar 2012 12:03:24 -0500
Date: Tue, 13 Mar 2012 12:22:39 -0500
Subject: [PATCH] Lets always write out a Legacy grub config file since its
all ec2 supports and its presence doesnt hurt
all ec2 supports and its presence doesnt hurt
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
---
appcreate/appliance.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/appcreate/appliance.py b/appcreate/appliance.py
index f9fc784..12f6794 100644
index f9fc784..d896d34 100644
--- a/appcreate/appliance.py
+++ b/appcreate/appliance.py
@@ -258,6 +258,8 @@ class ApplianceImageCreator(ImageCreator):
@ -26,9 +26,9 @@ index f9fc784..12f6794 100644
logging.debug("Grub2 configuration file generated.")
def _create_bootconfig(self):
+ # For EC2 lets always make a grub Legacy config file
+ logging.debug("Writing GRUB Legacy config.")
+ self._create_grub_config()
+ # For EC2 lets always make a grub Legacy config file
+ logging.debug("Writing GRUB Legacy config.")
+ self._create_grub_config()
if self.grub == 'grub2':
# We have GRUB2 package installed
# Most probably this is Fedora 16+