[Ovirt-devel] [PATCH node 3/3] correct reboot function in ovirt-functions. Machines installed w/o ovirt_iscsi_enabled="y" would not have the "ROOT" partition file system renamed on install/reboot
Joey Boggs
jboggs at redhat.com
Thu Apr 1 02:20:21 UTC 2010
---
scripts/ovirt-functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index d8aa008..e79fcd8 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -716,7 +716,7 @@ lvremove() {
# cleanup before reboot
reboot() {
cd /
- if [ "$OVIRT_ISCSI_ENABLED" = "yes" ]; then
+ if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
# setup new Root if update is prepared
if findfs LABEL=RootUpdate 2>&1 >/dev/null; then
root_update_dev=$(findfs LABEL=RootUpdate 2>/dev/null)
--
1.6.6.1
More information about the ovirt-devel
mailing list