aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vFW
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2017-05-19 14:11:16 -0400
committerMarco Platania <platania@research.att.com>2017-05-19 14:11:16 -0400
commitb8bf242c3eb0bbe7027d631b46e4ecc470b80a81 (patch)
treed5f2b711fc579fd4283efe9b84c97dc4da300769 /vnfs/vFW
parenta4a8036f7481467739926c32567c16af2b1038f5 (diff)
Fix issues with the MTU size in vFW/vLB
Change-Id: Icc391c10bafa076b4ce74ca53e29a2e808f65a9d Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/vFW')
-rw-r--r--vnfs/vFW/scripts/v_firewall_install.sh5
-rw-r--r--vnfs/vFW/scripts/v_packetgen_install.sh5
-rw-r--r--vnfs/vFW/scripts/v_sink_install.sh5
3 files changed, 15 insertions, 0 deletions
diff --git a/vnfs/vFW/scripts/v_firewall_install.sh b/vnfs/vFW/scripts/v_firewall_install.sh
index cfa59a12..21164383 100644
--- a/vnfs/vFW/scripts/v_firewall_install.sh
+++ b/vnfs/vFW/scripts/v_firewall_install.sh
@@ -10,6 +10,11 @@ CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
if [[ $CLOUD_ENV == "openstack" ]]
then
echo 127.0.0.1 $(hostname) >> /etc/hosts
+
+ # Allow remote login as root
+ mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
+ cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
+
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
VFW_PRIVATE_IP_O=$(cat /opt/config/vfw_private_ip_0.txt)
diff --git a/vnfs/vFW/scripts/v_packetgen_install.sh b/vnfs/vFW/scripts/v_packetgen_install.sh
index 913b5497..c3a510da 100644
--- a/vnfs/vFW/scripts/v_packetgen_install.sh
+++ b/vnfs/vFW/scripts/v_packetgen_install.sh
@@ -10,6 +10,11 @@ CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
if [[ $CLOUD_ENV == "openstack" ]]
then
echo 127.0.0.1 $(hostname) >> /etc/hosts
+
+ # Allow remote login as root
+ mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
+ cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
+
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
VPG_PRIVATE_IP_O=$(cat /opt/config/vpg_private_ip_0.txt)
diff --git a/vnfs/vFW/scripts/v_sink_install.sh b/vnfs/vFW/scripts/v_sink_install.sh
index 0e1a7ad7..32c6167f 100644
--- a/vnfs/vFW/scripts/v_sink_install.sh
+++ b/vnfs/vFW/scripts/v_sink_install.sh
@@ -8,6 +8,11 @@ CLOUD_ENV=$(cat /opt/config/cloud_env.txt)
if [[ $CLOUD_ENV == "openstack" ]]
then
echo 127.0.0.1 $(hostname) >> /etc/hosts
+
+ # Allow remote login as root
+ mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.bk
+ cp /home/ubuntu/.ssh/authorized_keys /root/.ssh
+
MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
VSN_PRIVATE_IP_O=$(cat /opt/config/vsn_private_ip_0.txt)