]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer/Cloudinit.pm
cloudinit: make genisoimage only output errors
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Mar 2020 13:47:03 +0000 (14:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Mar 2020 13:50:39 +0000 (14:50 +0100)
commit86a2e85a26ca3576a4cd1876502ae1b9f8374383
tree7c3c6606a3728e7d74b85fd7870f6d1bbdc9a73e
parent37e9b2d0313dad46703ac1a5b7fc73ed3d5cd846
cloudinit: make genisoimage only output errors

avoids a genisoimage output like:
> Total translation table size: 0
> Total rockridge attributes bytes: 417
> Total directory bytes: 0
> Path table size(bytes): 10
> Max brk space used 0
> 178 extents written (0 MB)

on every VM start.

Rather than that useless output, tell genisoimage to be quiet, which
still prints errors but nothing else. Additionally print a short
single line about that we're to create the cloud-init iso.

Reformat while at it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer/Cloudinit.pm