test: replace genisoimage with mkisofs

genisoimage might be removed from RHEL 9. The users are advised to switch
to mkisofs tools from the xorriso package. It should be a drop-in replacement.

The same change was recently done by libguestfs:

efb8a766ca
2216ab2e32

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-03-31 13:06:46 +02:00 committed by Ondřej Budai
parent 6ed4c59010
commit 54a458af5c
5 changed files with 5 additions and 5 deletions

View file

@ -75,7 +75,7 @@ func withTempDir(dir, pattern string, f func(dir string) error) error {
// metaData and writes it to the writer
func writeCloudInitISO(writer io.Writer, userData, metaData string) error {
isoCmd := exec.Command(
"genisoimage",
"mkisofs",
"-quiet",
"-input-charset", "utf-8",
"-volid", "cidata",