[Ovirt-devel] Re: [PATCH node] Adds automatic non-interactive configuration for the standalone node.

Darryl Pierce dpierce at redhat.com
Fri Nov 14 16:22:45 UTC 2008


On Friday 14 November 2008 11:20:19 am Darryl L. Pierce wrote:
> If ovirt-config-network is called as follows:
>
> ovirt-config-network AUTO  [NIC] [IP NETMASK GATEWAY BROADCAST]
>
> where NIC is the management interface to be configured.
>
> If the IP details are provided then they are used to configure the device.
> Otherwise DHCP will be used.
>
> Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
> ---
>  scripts/ovirt-config-networking |   82
> +++++++++++++++++++++++++++------------ scripts/ovirt-firstboot         |  
>  6 ++-
>  2 files changed, 62 insertions(+), 26 deletions(-)
>
> diff --git a/scripts/ovirt-config-networking
> b/scripts/ovirt-config-networking index 2f8363c..583ee5e 100755
> --- a/scripts/ovirt-config-networking
> +++ b/scripts/ovirt-config-networking
> @@ -4,11 +4,17 @@
>  # to configure each.
>
>  CONFIG_FILE_ROOT="/file/etc/sysconfig/network-scripts/ifcfg"
> -CONFIG_LOG_FILE="/var/log/ovirt-network-setup.log"
> +# CONFIG_LOG_FILE="/var/log/ovirt-network-setup.log"
> +CONFIG_LOG_FILE="ovirt-network-setup.log"

Missed this when I sent this patch. A followup patch removes this debugging 
bit.

-- 
Darryl L. Pierce, Sr. Software Engineer
Red Hat, Inc. - http://www.redhat.com/
oVirt - Virtual Machine Management - http://www.ovirt.org/
"What do you care what other people think, Mr. Feynman?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20081114/95648f22/attachment.sig>


More information about the ovirt-devel mailing list