Commit c6992ecf by Serge Hallyn Committed by Daniel Lezcano

lxc-ubuntu: Default to current ubuntu release.

If can't match any valid release, use lucid. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 8339b4c8
......@@ -391,6 +391,15 @@ fi
eval set -- "$options"
release=lucid
if [ -f /etc/lsb-release ]; then
. /etc/lsb-release
case "$DISTRIB_CODENAME" in
lucid|maverick|natty|oneiric)
release=$DISTRIB_CODENAME
;;
esac
fi
bindhome=
arch=$(arch)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment