The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7225
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 70ef794665903ea77b31bfe39f51465974e9fb43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Sun, 19 Apr 2020 23:21:58 -0400 Subject: [PATCH] shared/simplestreams: Fix VM image preference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- shared/simplestreams/sort.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/simplestreams/sort.go b/shared/simplestreams/sort.go index 3883dbe690..a620c7e305 100644 --- a/shared/simplestreams/sort.go +++ b/shared/simplestreams/sort.go @@ -23,6 +23,10 @@ func (a sortedImages) Less(i, j int) bool { if a[i].Properties["type"] == "squashfs" { return true } + + if a[i].Properties["type"] == "disk-kvm.img" { + return true + } } if a[i].Properties["os"] == a[j].Properties["os"] {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel