create-lx-container.sh: fix error in creating lX configuration file.

This commit is contained in:
Christoph 2022-06-22 18:13:36 +02:00
parent a938de97c0
commit 3ff542408d

View File

@ -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