Displaying 5 results from an estimated 5 matches for "configure_ovirt_management_nic".
2010 Jul 13
1
[PATCH node] Kill persistent dhclient on the temporary interface
...f-by: Arthur Clement <aclement at linagora.com>
---
scripts/ovirt-early | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 1c15792..6b510ca 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -43,6 +43,9 @@ configure_ovirt_management_nic() {
log "Using interface $DEVICE"
# setup temporary interface to retrieve configuration
/sbin/dhclient $1
+ # save dhclient PID for killing it later
+ dhclientPid=$( /sbin/pidof dhclient )
+
fi
if [ $? -eq 0 ]; then...
2010 Mar 24
2
[PATCH] Restart network after applying configuration
...d-off-by: Arthur CLEMENT <aclement at linagora.com>
---
scripts/ovirt-early | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 7f7c99c..4b85102 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -96,6 +96,9 @@ configure_ovirt_management_nic() {
> /etc/sysconfig/network-scripts/ifcfg-$BRIDGE
log "Default config applied"
fi
+
+ service network restart
+
}
# $(get_live_disk)
--
1.6.6.1
2010 Feb 10
1
RFC: First pass at making the node generic...
I'm looking for feedback on this first patch. The node has been pushed
towards a more generic boot process. With this patch the node can now
boot up and execute a few specifically-named scripts that reside in
/etc/node.d/ at key points during the startup.
After this goes upstream, the next step will be to define in more detail
the remote interfaces for the "managed" runtime
2010 Feb 23
1
More complete patch...
This patch supercedes the previous one by moving the functionality for
relocating files into the make system.
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...76 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -143,7 +143,7 @@ find_disk() {
configure_management_interface() {
log "Configuring the manangement interface."
- case $OVIRT_RUNTIME_MODE in
+ case $NODE_RUNTIME_MODE in
"ovirt")
configure_ovirt_management_nic $bootif
if [ -n "$init" ]; then
@@ -160,9 +160,9 @@ configure_management_interface() {
fi
;;
"managed")
- if [ -x $MANAGEMENT_SCRIPTS_DIR/configure-management-interface ]; then
- log "Executing $MANAG...