Browse Source

mod proj template

feature-lxc
6543 4 years ago
parent
commit
268e327351
  1. 19
      src/proj/desinfect.17

19
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

<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…
Cancel
Save