[pve-devel] applied: [PATCH qemu-server] Qemu-Server: fix wrong quotation

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Jun 30 12:33:37 CEST 2022


applied, thanks

On Thu, Jun 30, 2022 at 12:12:03PM +0200, Matthias Heiserer wrote:
> Before, the two strings were one single string each, rather than multiple
> separated by newlines.
> 
> In the docs, this looked very strange as there were linebreaks and the
> dots were shown. Can be seen e.g. in api-viewer /nodes/{node}/qemu/{vmid}/config.
> 
> Signed-off-by: Matthias Heiserer <m.heiserer at proxmox.com>
> ---
>  PVE/QemuServer.pm | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 09c0df4..7d9cf22 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -783,16 +783,16 @@ my $confdesc_cloudinit = {
>      searchdomain => {
>  	optional => 1,
>  	type => 'string',
> -	description => "cloud-init: Sets DNS search domains for a container. Create will'
> +	description => 'cloud-init: Sets DNS search domains for a container. Create will'
>  	    .' automatically use the setting from the host if neither searchdomain nor nameserver'
> -	    .' are set.",
> +	    .' are set.',
>      },
>      nameserver => {
>  	optional => 1,
>  	type => 'string', format => 'address-list',
> -	description => "cloud-init: Sets DNS server IP address for a container. Create will'
> +	description => 'cloud-init: Sets DNS server IP address for a container. Create will'
>  	    .' automatically use the setting from the host if neither searchdomain nor nameserver'
> -	    .' are set.",
> +	    .' are set.',
>      },
>      sshkeys => {
>  	optional => 1,
> -- 
> 2.30.2





More information about the pve-devel mailing list