Add apt-get update to startup
@@ -93,6 +93,8 @@ done
# Install OpenSSH on ${HS_USER_ZONE_HOST}
echo "INFO: Install OpenSSH on ${HS_USER_ZONE_HOST}"
+echo "[root@${HS_USER_ZONE_HOST}]$ apt-get update"
+docker exec ${HS_USER_ZONE_HOST} sh -c "apt-get update"
echo "[root@${HS_USER_ZONE_HOST}]$ apt-get install -y openssh-client openssh-server && mkdir /var/run/sshd && sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && /etc/init.d/ssh restart"
docker exec ${HS_USER_ZONE_HOST} sh -c "apt-get install -y openssh-client openssh-server && mkdir /var/run/sshd && sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && /etc/init.d/ssh restart"
