Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
aufs workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Feb 17, 2018
1 parent ba39391 commit 32c0c2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rootfs/etc/my_init.d/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ if [ ! -f /home/admin/bin/my-startup.sh ]; then
echo "[i] running for the 1st time"
rsync --update -raz /vesta-start/* /vesta
rsync --update -raz /sysprepz/home/* /home

# work around for AUFS bug
# as per https://github.com/docker/docker/issues/783#issuecomment-56013588
mkdir /etc/ssl/private-copy; mv /etc/ssl/private/* /etc/ssl/private-copy/; rm -r /etc/ssl/private; mv /etc/ssl/private-copy /etc/ssl/private; chmod -R 0700 /etc/ssl/private; chown -R postgres /etc/ssl/private
# save some bytes, you can do it later
# rm -rf /sysprepz
# rm -rf /vesta-start
Expand Down

0 comments on commit 32c0c2e

Please sign in to comment.