Add editvm.sh TEMPLATE CMD command

This commit is contained in:
selfhoster selfhoster 2023-06-06 12:28:58 +02:00
commit 787a678a79
6 changed files with 139 additions and 2 deletions

View file

@ -12,7 +12,8 @@ lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
lxc.rootfs.path = overlayfs:/ramdisk/sys/archlinux:/ramdisk/tmp/$VMNAME
# Use $LXCROOTFS variable which is different between mkvm.sh/editvm.sh
lxc.rootfs.path = $LXCROOTFS
# Common configuration
lxc.include = /usr/share/lxc/config/archlinux.common.conf

View file

@ -12,7 +12,8 @@ lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
lxc.rootfs.path = overlayfs:/ramdisk/sys/bullseye:/ramdisk/tmp/$VMNAME
# Use $LXCROOTFS variable which is different between mkvm.sh/editvm.sh
lxc.rootfs.path = $LXCROOTFS
# Common configuration
lxc.include = /usr/share/lxc/config/debian.common.conf