[Ovirt-devel] Proposals for making configure_from_network function works in f13

Alan Pevec apevec at gmail.com
Tue Feb 9 19:45:25 UTC 2010


For submitting patches, please use git format-patch/send-email so that
authorship is preserved,
also add signed-off-by line in the patch comment (git commit -s adds
it automatically)

On Tue, Feb 9, 2010 at 3:43 PM, Arthur CLEMENT <aclement at linagora.com> wrote:
> 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

While semantically the same, it'd be more readable to use $DEVICE instead of $1




More information about the ovirt-devel mailing list