Skip to content

Commit

Permalink
Update onapp-hypervisor-networking.sh
Browse files Browse the repository at this point in the history
Added vlan2 provisioning.
  • Loading branch information
Remz-Jay committed Sep 12, 2013
1 parent 8798ce1 commit 01a8703
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion onapp-hypervisor-networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ MAC1=$(ifconfig eth1 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}')
echo $MYNUM
echo $MAC0
echo $MAC1
#exit

mkdir /sbin2
mount /dev/shm -t tmpfs /sbin2
Expand Down Expand Up @@ -47,6 +46,14 @@ SLAVE=yes">>$CONFPATH/ifcfg-eth1
#IPADDR=10.10.10.${MYNUM}
#NETMASK=255.255.255.0">>$CONFPATH/ifcfg-vlan3

echo -e "VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
DEVICE=vlan2
PHYSDEV=bond0
BOOTPROTO=none
ONBOOT=no
TYPE=Ethernet">>$CONFPATH/ifcfg-vlan2

echo -e "VLAN=yes
VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD
DEVICE=vlan4
Expand Down

0 comments on commit 01a8703

Please sign in to comment.