[lxc-devel] [lxc/master] lxc-opensuse: fix default value for release code

mabes on Github lxc-bot at linuxcontainers.org
Mon Jan 30 12:10:31 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 461 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170130/2b15c853/attachment.bin>
-------------- next part --------------
From 51a0abf8c40ca4708ca58b96ca211947723247c1 Mon Sep 17 00:00:00 2001
From: Maxime Besson <mabes at users.noreply.github.com>
Date: Mon, 30 Jan 2017 13:08:40 +0100
Subject: [PATCH] lxc-opensuse: fix default value for release code

---
 templates/lxc-opensuse.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in
index 46a841a..5e8686b 100644
--- a/templates/lxc-opensuse.in
+++ b/templates/lxc-opensuse.in
@@ -458,7 +458,7 @@ fi
 if [ -z "$DISTRO" ]; then
     echo ""
     echo "No release selected, using openSUSE Leap 42.2"
-    DISTRO=42.2
+    DISTRO="leap/42.2"
 else
     echo ""
     case "$DISTRO" in


More information about the lxc-devel mailing list