aboutsummaryrefslogtreecommitdiff
path: root/libvirt
diff options
context:
space:
mode:
authornight199uk <night199uk@hermitcrabslab.com>2018-01-07 21:41:08 +0100
committerFlavio Castelli <flavio@castelli.me>2018-01-14 14:46:17 +0100
commitc1ed2ab5631e2c4971a4e207cb9e9294693463d3 (patch)
treea65472785f9e5edd1cc9d5871476e2c595ea02fd /libvirt
parent767a7a52bb4daf073987070d39b4137b916581c3 (diff)
downloadterraform-provider-libvirt-c1ed2ab5631e2c4971a4e207cb9e9294693463d3.tar
terraform-provider-libvirt-c1ed2ab5631e2c4971a4e207cb9e9294693463d3.tar.gz
Modify cloudinit to use 'mkisofs' instead of 'genisoimage'.
genisoimage was debian's fork of mkisofs so the two are compatible, but mkisofs is available on more OS' (e.g. macOS via brew).
Diffstat (limited to 'libvirt')
-rw-r--r--libvirt/cloudinit_def.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt/cloudinit_def.go b/libvirt/cloudinit_def.go
index 91b73514..b1cd2c27 100644
--- a/libvirt/cloudinit_def.go
+++ b/libvirt/cloudinit_def.go
@@ -150,7 +150,7 @@ func (ci *defCloudInit) createISO() (string, error) {
isoDestination := filepath.Join(tmpDir, ci.Name)
cmd := exec.Command(
- "genisoimage",
+ "mkisofs",
"-output",
isoDestination,
"-volid",