mod proj template
This commit is contained in:
parent
f5a2ddb0c4
commit
268e327351
@ -261,3 +261,22 @@ function 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 $@; }
|
||||
|
Loading…
Reference in New Issue
Block a user