[Ovirt-devel] [PATCH node] assume eth0 when BOOTIF is not specified

Alan Pevec apevec at redhat.com
Wed Jul 1 00:32:48 UTC 2009


otherwise invalid "ifcfg-" file is generated
---
 scripts/ovirt-early |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index ac54e4b..b4de30e 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -67,6 +67,10 @@ configure_from_network() {
                 fi
             fi
         fi
+    else
+        # for non-PXE boot when BOOTIF parameter is not specified
+        # otherwise default network config is invalid
+        DEVICE=eth0
     fi
     # default oVirt network configuration:
     # bridge each ethernet device in the system
-- 
1.6.0.6




More information about the ovirt-devel mailing list