diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 3bd44a5..0689bdb 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -40,7 +40,7 @@ configure_from_network() {
         if ! network_up ; then
             log "Using interface $DEVICE"
             # setup temporary interface to retrieve configuration
-            echo "network --device $DEVICE --bootproto dhcp" | nash
+            /sbin/dhclient $1
         fi
         if [ $? -eq 0 ]; then
             # from network-scripts/ifup-post


On Mardi 09 Février 2010 15:37:19 Darryl L. Pierce wrote:
> On Tue, Feb 09, 2010 at 03:17:13PM +0100, Arthur CLEMENT wrote:
> > It's working with Ricardo's patch
> > The ovirt-early script on my node : http://pastebin.com/f7d655481
> 
> Very good. Please send a patch with your code in it to the list and I'll
> take it upstream. :)
-- 
Arthur CLEMENT
Linagora Paris

_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to