summaryrefslogtreecommitdiffstats
path: root/boot/dns_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/dns_install.sh')
-rw-r--r--boot/dns_install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 0bb2e5df..152a723a 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -9,6 +9,10 @@ if [[ $CLOUD_ENV != "rackspace" ]]
then
# Add host name to /etc/host to avoid warnings in openstack images
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
# Set the Bind configuration file name based on the deployment environment
ZONE_FILE="bind_zones"