소스 검색

Enable ssh access for 172.16.16.16 private address

Lari Hotari 11 년 전
부모
커밋
5d18b522c7
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      toolset/deployment/vagrant/bootstrap.sh

+ 7 - 0
toolset/deployment/vagrant/bootstrap.sh

@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+if [ ! -e "/home/vagrant/.firstboot" ]; then
+  echo "ListenAddress 0.0.0.0" >> /etc/ssh/sshd_config
+  service ssh restart
+  touch /home/vagrant/.firstboot
+fi
+