Skip to content
Snippets Groups Projects
Commit b8c6c71a authored by Jean-Marie Place's avatar Jean-Marie Place
Browse files

fix /home/scodoc

parent 66b58f13
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ Vagrant.configure("2") do |config| ...@@ -81,7 +81,7 @@ Vagrant.configure("2") do |config|
apt-get update apt-get update
# discard postfix dialog # discard postfix dialog
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
apt-get install -y nginx # apt-get install -y nginx
apt-get install -y scodoc9 apt-get install -y scodoc9
echo '# scodoc user is created by scodoc install. configure it' echo '# scodoc user is created by scodoc install. configure it'
...@@ -92,6 +92,8 @@ scodoc:r6a06$$ ...@@ -92,6 +92,8 @@ scodoc:r6a06$$
EOF EOF
echo "configure ssh to scodoc" echo "configure ssh to scodoc"
cd /home/vagrant cd /home/vagrant
mkdir /home/scodoc
chown scodoc:scodoc /home/scodoc
cp -r .ssh /home/scodoc cp -r .ssh /home/scodoc
cd /home/scodoc cd /home/scodoc
chown -R scodoc:scodoc .ssh chown -R scodoc:scodoc .ssh
...@@ -111,8 +113,8 @@ EOF ...@@ -111,8 +113,8 @@ EOF
su -c "git fetch" scodoc su -c "git fetch" scodoc
su -c "git switch master --force" scodoc su -c "git switch master --force" scodoc
echo -n "Adresse ip: " echo -n "Adresse ip: " >> $CONFIG/ip
ip a show eth1 ip a >> $CONFIG/ip
SHELL SHELL
VAGRANT_COMMAND = ARGV[0] VAGRANT_COMMAND = ARGV[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment