[Ovirt-devel] Proposals for making configure_from_network function works in f13
Arthur CLEMENT
aclement at linagora.com
Tue Feb 9 14:43:30 UTC 2010
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
More information about the ovirt-devel
mailing list