From 268e327351ec90cdb8b55b1fbeea6bb3b51fd832 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 02:12:28 +0200 Subject: [PATCH] mod proj template --- src/proj/desinfect.17 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/proj/desinfect.17 b/src/proj/desinfect.17 index 355e2e4..87f36ba 100755 --- a/src/proj/desinfect.17 +++ b/src/proj/desinfect.17 @@ -261,3 +261,22 @@ function project_mods-desinfect.17() { } } function project_mods() { project_mods-desinfect.17 $@; } + +function chroot_initial-desinfect2017() { + #$1 = chroot dir + + /func/chroot_initial "$1" + + #LXC Start + config="/var/lib/lxc/_remaster_/config" + + #special conf for distros: + echo "lxc.include = /usr/share/lxc/config/nesting.conf" > $config + echo "lxc.include = /usr/share/lxc/config/ubuntu.common.conf" >> $config + echo "lxc.arch = x86_64" >> $config + + #normal config + chroot_config "$chroot_dir" >> $config + #LXC End +} +function chroot_initial() { chroot_initial-desinfect.17 $@; }