[node-patches] Change in ovirt-node[node-3.0]: Read configured nic from interface files before BOOTIF arg
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Mar 5 11:27:20 UTC 2014
Fabian Deutsch has uploaded a new change for review.
Change subject: Read configured nic from interface files before BOOTIF arg
......................................................................
Read configured nic from interface files before BOOTIF arg
rhbz#1053425
Change-Id: I9af651dd5a8d821316b170cd67428e4f5b55a3cd
Signed-off-by: Fabian Deutsch <fabiand at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/01/25401/1
diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 4608954..7f06fc9 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -880,6 +880,10 @@
>> $tmpaug
fi
done
+ # block accidental bootif changes on upgrades
+ if [ "$upgrade" != "1"]; then
+ sed -i '/OVIRT_BOOTIF/d' $tmpaug
+ fi
augtool $tmpaug
. $OVIRT_DEFAULTS
if [ "$firstboot" != "1" -a -f /etc/ovirt-crypttab ]; then
--
To view, visit http://gerrit.ovirt.org/25401
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9af651dd5a8d821316b170cd67428e4f5b55a3cd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list