From 785e9a0ee6a3e82cd35cce81890bf532fce530b3 Mon Sep 17 00:00:00 2001
From: Lars Seipel <ls@slrz.net>
Date: Wed, 10 Mar 2021 11:43:39 +0100
Subject: [PATCH] runner/libvirt: note pool during buildInventory
Doing it only later on createVolumes prevents us from
emitting libvirt domain XML unless also creating volumes,
unnecessarily complicating testing.
---
runner/libvirt/runner.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/runner/libvirt/runner.go b/runner/libvirt/runner.go
index 98d5eec..d2d262b 100644
--- a/runner/libvirt/runner.go
+++ b/runner/libvirt/runner.go
@@ -218,6 +218,7 @@ func (r *Runner) buildInventory(t *topology.T) (err error) {
tunnelIP: tunnelIP,
image: filepath.Join(r.imageDir, r.namePrefix+topoDev.Name),
baseImage: base,
+ pool: r.storagePool,
topoDev: topoDev,
}
}
--
GitLab