Lines Matching refs:config
103 echo "lxc.mount.entry = /dev/$dev dev/$dev none bind,optional,create=file 0 0" >> $path/config
204 # add necessary config files
342 grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "lxc.rootfs = $rootfs" >> $path/config
343 cat <<EOF >> $path/config
366 echo "lxc.mount.entry = /$dir $dir none ro,bind 0 0" >> $path/config
369 echo "lxc.mount.entry = /sys/kernel/security sys/kernel/security none ro,bind,optional 0 0" >>$path/config
377 chown $LXC_MAPPED_UID $path/config >/dev/null 2>&1
382 chgrp $LXC_MAPPED_GID $path/config >/dev/null 2>&1
428 config="$path/config"
430 if grep -q '^lxc.rootfs' $config 2>/dev/null ; then
431 rootfs=$(awk -F= '/^lxc.rootfs =/{ print $2 }' $config)