From ad97dd85c15deaf71427161e01d3249b727af141 Mon Sep 17 00:00:00 2001 From: Shuai Lin Date: Sat, 12 Nov 2016 13:27:24 +0800 Subject: [PATCH] Mount shared/logs/var-log to /var/log --- .gitignore | 4 ++-- launcher | 1 + shared/logs/{ => var-log}/.gitkeep | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename shared/logs/{ => var-log}/.gitkeep (100%) diff --git a/.gitignore b/.gitignore index 8c15c15..0d25f72 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,5 @@ .DS_Store *.pyc -bootstrap/ -shared/ +bootstrap/* +shared/* diff --git a/launcher b/launcher index 4beae74..a233ef8 100755 --- a/launcher +++ b/launcher @@ -37,6 +37,7 @@ set_volumes() { mounts=( $sharedir:/shared + $sharedir/logs/var-log:/var/log $dockerdir/bootstrap:/bootstrap:ro $dockerdir/scripts:/scripts:ro $dockerdir/scripts/tmp/check_init_admin.py:$installdir/check_init_admin.py:ro diff --git a/shared/logs/.gitkeep b/shared/logs/var-log/.gitkeep similarity index 100% rename from shared/logs/.gitkeep rename to shared/logs/var-log/.gitkeep