[lxc-devel] [distrobuilder/master] source: Fix openSUSE tarball name

monstermunchkin on Github lxc-bot at linuxcontainers.org
Thu Apr 25 14:58:46 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190425/c6436ccf/attachment.bin>
-------------- next part --------------
From 44b29ebd88979213343f650b520550b2fa1e5ba9 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Thu, 25 Apr 2019 16:58:05 +0200
Subject: [PATCH] source: Fix openSUSE tarball name

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 sources/opensuse-http.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sources/opensuse-http.go b/sources/opensuse-http.go
index 242e49b..18d6993 100644
--- a/sources/opensuse-http.go
+++ b/sources/opensuse-http.go
@@ -126,7 +126,7 @@ func (s *OpenSUSEHTTP) getPathToTarball(baseURL string, release string, arch str
 			return ""
 		}
 
-		u.Path = path.Join(u.Path, fmt.Sprintf("opensuse-tumbleweed-image.%s-lxc.tar.xz",
+		u.Path = path.Join(u.Path, fmt.Sprintf("opensuse-tumbleweed-image.%s-1.0.0.tar.xz",
 			arch))
 	} else {
 		u.Path = path.Join(u.Path, fmt.Sprintf("openSUSE-Leap-%s", release))


More information about the lxc-devel mailing list