diff options
author | night199uk <night199uk@hermitcrabslab.com> | 2018-01-07 21:41:08 +0100 |
---|---|---|
committer | Flavio Castelli <flavio@castelli.me> | 2018-01-14 14:46:17 +0100 |
commit | c1ed2ab5631e2c4971a4e207cb9e9294693463d3 (patch) | |
tree | a65472785f9e5edd1cc9d5871476e2c595ea02fd | |
parent | 767a7a52bb4daf073987070d39b4137b916581c3 (diff) | |
download | terraform-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).
-rw-r--r-- | libvirt/cloudinit_def.go | 2 |
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", |