[node-patches] Change in ovirt-node[master]: update vlan boot parameter to work with dracut parsing
jboggs at redhat.com
jboggs at redhat.com
Mon Mar 11 19:48:50 UTC 2013
Joey Boggs has uploaded a new change for review.
Change subject: update vlan boot parameter to work with dracut parsing
......................................................................
update vlan boot parameter to work with dracut parsing
rhbz#915765
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I12fe466cc4ae4a841c73c804ff95f1b48d7144a1
---
M scripts/ovirt-init-functions.sh
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/47/12947/1
diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index df51f74..a799fb2 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -204,7 +204,7 @@
# ipv6=dhcp|auto
# dns=server[,server]
# ntp=server[,server]
- # vlan=id
+ # vlan=id:eth*
# ssh_pwauth=[0|1]
# syslog=server[:port]
# collectd=server[:port]
@@ -646,7 +646,8 @@
hostname=${i#hostname=}
;;
vlan=*)
- vlan=${i#vlan=}
+ i=${i#vlan=}
+ eval $(printf $i|awk -F: '{print "vlan="$1; print "nic="$2;}')
;;
ssh_pwauth=1 | ssh_pwauth=true)
ssh_pwauth=yes
--
To view, visit http://gerrit.ovirt.org/12947
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I12fe466cc4ae4a841c73c804ff95f1b48d7144a1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list