search for: ovirt_ip_prefix

Displaying 4 results from an estimated 4 matches for "ovirt_ip_prefix".

2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...g @@ -18,6 +18,7 @@ trap 'exit $?' 1 2 13 15 CONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg" NTP_CONFIG_FILE="/etc/ntp.conf" +CONFIGURED_NIC="" function configure_interface { @@ -31,6 +32,17 @@ function configure_interface PREFIX=$OVIRT_IP_PREFIX fi + if [[ -n "${CONFIGURED_NIC}" ]]; then + printf "This will delete the current configuration for ${CONFIGURED_NIC}.\n" + read -ep "Continue? (y/N) " + case $REPLY in + N|n) printf "\nAborting...\n"; return;; +...
2009 Jul 08
1
Final follow up patch to add warning for NTP...
Now, rather than displaying yet another warning, the NTP configuration just requires that the user select a NIC to configure first. That act alone provides the single warning to the user that they'll be changing their network configuration.
2010 Oct 25
0
[PATCH node] add network.py script
...") + if OVIRT_VARS.has_key("OVIRT_IP_ADDRESS"): + IPADDR = OVIRT_VARS["OVIRT_IP_ADDRESS"] + NETMASK = OVIRT_VARS["OVIRT_IP_NETMASK"] + GATEWAY = OVIRT_VARS["OVIRT_IP_GATEWAY"] + PREFIX = OVIRT_VARS["OVIRT_IP_PREFIX"] + + if OVIRT_VARS.has_key("OVIRT_BOOTIF"): + self.CONFIGURED_NIC = OVIRT_VARS["OVIRT_BOOTIF"] + if not self.CONFIGURED_NIC is None: + log("\nDeleting existing network configuration...\n") + os.system("cp -a /e...
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.