Displaying 7 results from an estimated 7 matches for "ovirt_bootif".
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...nic = 0
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"]
- 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 /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/networ...
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
...+ b/scripts/ovirt-functions
@@ -88,6 +88,10 @@ is_local_storage_configured () {
return 1
}
+is_diskless() {
+ grep -q '/dev/mapper/live-rw /' /proc/mounts
+}
+
# perform automatic local disk installation
# when at least following boot parameters are present:
# for networking - OVIRT_BOOTIF, management NIC
--
1.6.2.5
2010 Oct 25
0
[PATCH node] add network.py script
...quot;):
+ 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 /etc/sysconfig/network-scripts/ifcfg-lo /etc/sysconfig/networ...
2009 Jul 10
2
[PATCH: node 0/3] replace ovirt-identify-node with matahari
This patchset removes ovirt-identify-node and ovirt-listen awake.
It adds startup script support for the matahari qmf agent, which takes
over the responsibility for communicating node hardware capabilities
to the ovirt-server.
On the server side, host-browser has had its node identification
functionality replaced by a new script, host-register, which is what
interfaces with the matahari qmf agent
2009 Jul 08
1
[PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent
The purpose of this patch is to add support for the matahari qmf agent
package (http://git.et.redhat.com/?p=matahari.git;a=summary) to the node.
The following actions are taken:
1. Deprecate ovirt-identify-node and ovirt-listen-awake by removing
them from the autotools scripts, the rpm spec and the node startup scripts.
2. Remove ovirt-listen-awake and ovirt-identify-node completely.
3. Add
2009 Jun 04
1
[PATCH node] Hostname is now properly persisted between reboots. rhbz#504166
...urn 1 if local storage is not configured
+is_local_storage_configured () {
+ if lvs HostVG/Config >/dev/null >&1; then
+ return 0
+ fi
+
+ return 1
+}
+
# perform automatic local disk installation
# when at least following boot parameters are present:
# for networking - OVIRT_BOOTIF, management NIC
@@ -624,4 +634,3 @@ chkconfig_persist() {
if [ "$(basename "$0")" = "ovirt-functions" ]; then
"$@"
fi
-
--
1.6.0.6
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...ured
+def is_local_storage_configured():
+ ret = os.system("lvs HostVG/Config >/dev/null >&1")
+ if ret > 0:
+ return False
+ return True
+
+# perform automatic local disk installation
+# when at least following boot parameters are present:
+# for networking - OVIRT_BOOTIF, management NIC
+# if other ip bootparams are not specified, IPv4 DHCP is assumed
+# for storage - OVIRT_INIT, local disk to use
+# if ovirt_vol is not specified, default volume sizes are set
+def is_auto_install():
+ if OVIRT_VARS.has_key("OVIRT_BOOTIF") and OVIRT_VARS.has...