[pve-devel] central cipher config

Dietmar Maurer dietmar at proxmox.com
Tue Oct 30 15:16:13 CET 2012


> Am 30.10.2012 13:52, schrieb Dietmar Maurer:
> >> Var B:
> >> $ssh_opts = ['-c', 'blowfish'];
> >>
> >> sub migrate {
> >>       my ($class, $node, $nodeip, $vmid, $opts, $ssh_opts) = @_;
> >
> > That is OK for me.
> 
> OK thanks. 

I thought a bit more about that, and now I am starting to prefer option A.
(easier to implement, and a bit more 'declarative')

> How can we provide default values for datastore.cfg cipher
> setting? Do we have to modify via postinst the datastore.cfg to store a
> default value or should i add a
> 
> PVE::Tools::build_ssh_options and check there for a valid default cipher?

Hardcode to 'blowfish' (I don't want to change current behavior by default).





More information about the pve-devel mailing list