echo "lxc.uts.name = ${name}" >> "${config}"
grep -q "^lxc.arch" "${config}" 2>/dev/null \
|| echo "lxc.arch = ${arch}" >> "${config}"
- grep -q "^lxc.rootfs" "${config}" 2>/dev/null \
- || echo "lxc.rootfs = ${rootfs_path}" >> "${config}"
+ grep -q "^lxc.rootfs.path" "${config}" 2>/dev/null \
+ || echo "lxc.rootfs.path = ${rootfs_path}" >> "${config}"
[ -e "${shared_config}" ] \
&& echo "lxc.include = ${shared_config}" >> "${config}"
if [ $? -ne 0 ]; then