Joey Boggs
2009-Mar-06 14:39 UTC
[Ovirt-devel] [PATCH server] disable second interface for now, also for consistency provide default management interface device(eth0)
Disables ability of the installer to prompt for a second network interface. Also provides a default answer of "eth0" for management interface. --- installer/bin/ovirt-installer | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/installer/bin/ovirt-installer b/installer/bin/ovirt-installer index ba051d1..1c5f992 100755 --- a/installer/bin/ovirt-installer +++ b/installer/bin/ovirt-installer @@ -127,10 +127,11 @@ else end end -mgmt_dev = prompt_for_answer("Enter your management interface (example: eth0):") -prov_dev = prompt_for_answer("Enter your provisioning interface, this may also be your management interface:", :default => mgmt_dev) - -sep_networks = (mgmt_dev == prov_dev) ? "n" : "y" +mgmt_dev = prompt_for_answer("Enter your management interface:", :default => "eth0") +# For now only supporting one network interface +#prov_dev = prompt_for_answer("Enter your provisioning interface, this may also be your management interface:", :default => mgmt_dev) +prov_dev = mgmt_dev +#sep_networks = (mgmt_dev == prov_dev) ? "n" : "y" ovirt_host = prompt_for_answer("Enter the hostname of the oVirt management server (example: management.example.com):", :regex => IP_OR_FQDN) ipa_host = ovirt_host -- 1.6.0.6
Joey Boggs
2009-Mar-06 16:51 UTC
[Ovirt-devel] Re: [PATCH server] disable second interface for now, also for consistency provide default management interface device(eth0)
Joey Boggs wrote:> Disables ability of the installer to prompt for a second network interface. Also provides a default answer of "eth0" for management interface. > > --- > installer/bin/ovirt-installer | 9 +++++---- > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/installer/bin/ovirt-installer b/installer/bin/ovirt-installer > index ba051d1..1c5f992 100755 > --- a/installer/bin/ovirt-installer > +++ b/installer/bin/ovirt-installer > @@ -127,10 +127,11 @@ else > end > end > > -mgmt_dev = prompt_for_answer("Enter your management interface (example: eth0):") > -prov_dev = prompt_for_answer("Enter your provisioning interface, this may also be your management interface:", :default => mgmt_dev) > - > -sep_networks = (mgmt_dev == prov_dev) ? "n" : "y" > +mgmt_dev = prompt_for_answer("Enter your management interface:", :default => "eth0") > +# For now only supporting one network interface > +#prov_dev = prompt_for_answer("Enter your provisioning interface, this may also be your management interface:", :default => mgmt_dev) > +prov_dev = mgmt_dev > +#sep_networks = (mgmt_dev == prov_dev) ? "n" : "y" > > ovirt_host = prompt_for_answer("Enter the hostname of the oVirt management server (example: management.example.com):", :regex => IP_OR_FQDN) > ipa_host = ovirt_host >pushed this since it was essential to the pending release