From b5f5cf8018ac1da87c03ceedd8ee17fd78ed5a36 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Tue, 4 Feb 2020 14:37:20 -0300 Subject: [PATCH] Make mkisofs path not absolute --- xcp/xcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcp/xcp.go b/xcp/xcp.go index c377467..f5b2447 100644 --- a/xcp/xcp.go +++ b/xcp/xcp.go @@ -1039,7 +1039,7 @@ ssh_authorized_keys: fmetadata.Close() configIsoFilename := d.ResolveStorePath("configdrive.iso") - cmd := exec.Command("/usr/bin/mkisofs", "-R", "-V", "config-2", "-o", configIsoFilename, tempDir) + cmd := exec.Command("mkisofs", "-R", "-V", "config-2", "-o", configIsoFilename, tempDir) err = cmd.Run() if err != nil { log.Errorf("Unable to create ConfigDrive ISO '%s': %v", configIsoFilename, err)