aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vFW/scripts/v_sink_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/vFW/scripts/v_sink_install.sh')
-rw-r--r--vnfs/vFW/scripts/v_sink_install.sh5
1 files changed, 5 insertions, 0 deletions
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)