If can't match any valid release, use lucid. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com> --- templates/lxc-ubuntu.in | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index 0a55f4c..439e1d0 100644 --- a/templates/lxc-ubuntu.in +++ b/templates/lxc-ubuntu.in @@ -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) -- 1.7.4.1 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users