aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/lxc.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/lxc/lxc.initd')
-rw-r--r--main/lxc/lxc.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/lxc/lxc.initd b/main/lxc/lxc.initd
index c43803e2ad..7d39817944 100644
--- a/main/lxc/lxc.initd
+++ b/main/lxc/lxc.initd
@@ -43,10 +43,10 @@ checkconfig() {
# no need to output anything, the function takes care of that.
[ -z "${CONFIGFILE}" ] && return 1
- utsname=$(lxc_get_var lxc.utsname)
+ utsname=$(lxc_get_var lxc.uts.name)
if [ "${CONTAINER}" != "${utsname}" ]; then
eerror "You should use the same name for the service and the"
- eerror "lxc.utsname. Right now the lxc.utsname is set to ${utsname}"
+ eerror "lxc.uts.name : Right now the lxc.uts.name is set to : ${utsname}"
return 1
fi
}
@@ -67,7 +67,7 @@ start() {
rm -f /var/log/lxc/${CONTAINER}.log
- rootpath=$(lxc_get_var lxc.rootfs)
+ rootpath=$(lxc_get_var lxc.rootfs.path)
# verify that container is not on tmpfs
dev=$(df -P "${rootpath}" | awk '{d=$1}; END {print d}')
type=$(awk -v dev="$dev" '$1 == dev {m=$3}; END {print m}' /proc/mounts)