[pve-devel] applied: [PATCH qemu-server 1/1] commit_cloudinit_disk : add -n option to qemu-img dd

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Mar 22 08:09:26 CET 2018


applied

On Wed, Mar 21, 2018 at 12:19:17PM +0100, Alexandre Derumier wrote:
> ---
>  PVE/QemuServer/Cloudinit.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/QemuServer/Cloudinit.pm b/PVE/QemuServer/Cloudinit.pm
> index 9a809c5..d536a0f 100644
> --- a/PVE/QemuServer/Cloudinit.pm
> +++ b/PVE/QemuServer/Cloudinit.pm
> @@ -36,7 +36,7 @@ sub commit_cloudinit_disk {
>  
>      eval {
>  	run_command([['genisoimage', '-R', '-V', $label, $path],
> -		     ['qemu-img', 'dd', '-f', 'raw', '-O', $format,
> +		     ['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
>  		      'isize=0', "osize=$size", "of=$iso_path"]]);
>      };
>      my $err = $@;
> -- 
> 2.11.0



More information about the pve-devel mailing list