[lxc-devel] [distrobuilder/master] sources: Fix openSUSE Leap 15 tarball URL

monstermunchkin on Github lxc-bot at linuxcontainers.org
Mon Mar 4 13:05:27 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 379 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190304/fce643f8/attachment.bin>
-------------- next part --------------
From 79199f03cdc7ec8295834019d0734f43e278e450 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Mon, 4 Mar 2019 14:02:51 +0100
Subject: [PATCH] sources: Fix openSUSE Leap 15 tarball URL

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 753e17d..c5ee04a 100644
--- a/sources/opensuse-http.go
+++ b/sources/opensuse-http.go
@@ -138,7 +138,7 @@ func (s *OpenSUSEHTTP) getPathToTarball(baseURL string, release string, arch str
 			u.Path = path.Join(u.Path, "containers_ports")
 		}
 
-		u.Path = path.Join(u.Path, fmt.Sprintf("opensuse-leap-%s-image.%s-lxc.tar.xz", release,
+		u.Path = path.Join(u.Path, fmt.Sprintf("opensuse-leap-image.%s-lxc.tar.xz",
 			arch))
 	}
 


More information about the lxc-devel mailing list