mod proj template

This commit is contained in:
6543 2018-05-22 02:12:28 +02:00
parent f5a2ddb0c4
commit 268e327351

View File

@ -261,3 +261,22 @@ function project_mods-desinfect.17() {
} }
} }
function project_mods() { project_mods-desinfect.17 $@; } function project_mods() { project_mods-desinfect.17 $@; }

function chroot_initial-desinfect2017() {
#$1 = chroot dir

<LIBDIR>/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 $@; }