[node-patches] Change in ovirt-node[ovirt-3.5]: fixing the linux0 menu option Instead of deleting menu name ...

tlitovsk at redhat.com tlitovsk at redhat.com
Wed Jul 8 18:38:57 UTC 2015


Anatoly Litovsky has uploaded a new change for review.

Change subject: fixing the linux0 menu option Instead of deleting menu name and counting for the entry not to show I left the menu name intact and deleted all entry later
......................................................................

fixing the linux0 menu option
Instead of deleting menu name and counting
for the entry not to show
I left the menu name intact and deleted all entry
later

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1182952

Change-Id: Ie8c226b88cf1b4179c06613227a83388173758e0
Signed-off-by: Tolik Litovsky <tlitovsk at redhat.com>
---
M recipe/common-nochroot.ks
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/43352/1

diff --git a/recipe/common-nochroot.ks b/recipe/common-nochroot.ks
index 4b1b166..b298b36 100644
--- a/recipe/common-nochroot.ks
+++ b/recipe/common-nochroot.ks
@@ -23,8 +23,6 @@
 
 # Rename Boot option to Install or Upgrade
 sed -i 's/^  menu label Boot$/  menu label Install or Upgrade/' $LIVE_ROOT/isolinux/isolinux.cfg
-sed -i '/^  menu label Boot (Basic Video)$/d' $LIVE_ROOT/isolinux/isolinux.cfg
-
 # add serial console boot entry
 menu=$(mktemp)
 awk '
@@ -63,6 +61,7 @@
 ' $LIVE_ROOT/isolinux/isolinux.cfg > $menu
 # change the title
 sed -i -e '/^menu title/d' $menu
+sed -i '/^  menu label Boot (Basic Video)$/,+3d' $menu
 echo "say This is the $PRODUCT $VERSION ($RELEASE)" > $LIVE_ROOT/isolinux/isolinux.cfg
 echo "menu title ${PRODUCT_SHORT} $VERSION ($RELEASE)" >> $LIVE_ROOT/isolinux/isolinux.cfg
 cat $menu >> $LIVE_ROOT/isolinux/isolinux.cfg


-- 
To view, visit https://gerrit.ovirt.org/43352
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8c226b88cf1b4179c06613227a83388173758e0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Anatoly Litovsky <tlitovsk at redhat.com>



More information about the node-patches mailing list