Skip to content

Commit

Permalink
chmod 777 vm dir
Browse files Browse the repository at this point in the history
  • Loading branch information
miya0001 committed Nov 6, 2017
1 parent 604f7bc commit bebbe8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ docker run -idt -p 80:80 -p 443:443 \
vccw/vccw-xenial64:latest \
"/sbin/init"

docker exec --user 1000 --tty ${VCCW_HOSTNAME} \
docker exec --tty ${VCCW_HOSTNAME} env TERM=xterm chown ubuntu:ubuntu ${VM_DIR}
docker exec --tty ${VCCW_HOSTNAME} env TERM=xterm chmod 777 ${VM_DIR}

docker exec --user ubuntu --tty ${VCCW_HOSTNAME} \
env TERM=xterm ansible-playbook ${VM_DIR}/provision/playbook.yml -e "$(ruby $RUBY)"

0 comments on commit bebbe8e

Please sign in to comment.