diff options
Diffstat (limited to 'hosts')
-rwxr-xr-x | hosts/profitbricks-build3-amd64/etc/rc.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local index aec1060e..8879125c 100755 --- a/hosts/profitbricks-build3-amd64/etc/rc.local +++ b/hosts/profitbricks-build3-amd64/etc/rc.local @@ -14,7 +14,8 @@ echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root # keep schroot sessions on tmpfs -[ -L /var/lib/schroot ] || echo "$(date -u) - /var/lib/schroot is not a link to /srv/workspace/varlibschroot/ as it should, please fix manually" +[ -L /var/lib/schroot ] || echo "$(date -u) - /var/lib/schroot is not a link (to /srv/workspace/varlibschroot/) as it should, please fix manually" +mkdir -p /srv/workspace/varlibschroot cd /srv/workspace/varlibschroot || exit 1 mkdir -p mount session union unpack mkdir -p union/overlay union/underlay |