[pve-devel] [RFC cluster] datacenter.cfg: do not use 'default_key' in migration format

Dietmar Maurer dietmar at proxmox.com
Fri Dec 2 06:03:30 CET 2016


>  data/PVE/Cluster.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
> index 09ed5d7..0edcc0a 100644
> --- a/data/PVE/Cluster.pm
> +++ b/data/PVE/Cluster.pm
> @@ -1323,7 +1323,7 @@ sub ssh_merge_known_hosts {
>  
>  my $migration_format = {
>      type => {
> -	default_key => 1,

I think the default key is a good thing -  I would not remove that.

> +	optional => 1,

But yes, the whole value should be optional.

>  	type => 'string',
>  	enum => ['secure', 'insecure'],
>  	description => "Migration traffic is encrypted using an SSH tunnel by " .
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list