From 3ff542408dd310a4b9b5643167ca65c9cccd8495 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 22 Jun 2022 18:13:36 +0200 Subject: [PATCH] create-lx-container.sh: fix error in creating lX configuration file. --- create-lx-container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-lx-container.sh b/create-lx-container.sh index 674181e..1669946 100755 --- a/create-lx-container.sh +++ b/create-lx-container.sh @@ -1092,8 +1092,8 @@ EOF fi else - cat << EOF >> ${LXC_CONTAINER_DIR}/config 2> $err_msg -lxc.rootfs.path = ${LXC_CONTAINER_DIR}/rootfs + cat << EOF > ${LXC_CONTAINER_DIR}/config 2> $err_msg +lxc.rootfs.path = dir:${LXC_CONTAINER_DIR}/rootfs # Common configuration lxc.include = /usr/share/lxc/config/${LXC_DIST}.common.conf