diff options
author | varac <varacanero@zeromail.org> | 2016-11-05 13:19:48 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-11-05 13:19:48 +0100 |
commit | d26948f850433cc4581dba3f840b9df40d713641 (patch) | |
tree | 37991be243fe7778a24028c0a0aab3579ee0a026 | |
parent | e7adc00728db535ff05bada15cfa5597b7542623 (diff) |
Lint scripts/vagrant.sh
-rw-r--r-- | scripts/vagrant.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vagrant.sh b/scripts/vagrant.sh index 900fe9c..f36e2e3 100644 --- a/scripts/vagrant.sh +++ b/scripts/vagrant.sh @@ -6,7 +6,8 @@ date > /etc/vagrant_box_build_time # Installing vagrant key for root -mkdir -pm 700 /root/.ssh +mkdir -m 0700 /root/.ssh +chmod 0700 /root /root/.ssh wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /root/.ssh/authorized_keys chmod 0600 /root/.ssh/authorized_keys |