Humm, that makes a lot of sense. ;) I will pass the storage's name/id as anotjer PMXVAR, and remove all PMXCFG variables, this way we will produce a much shorter command string. On Mar 20, 2014 7:30 AM, "Dietmar Maurer" <diet...@proxmox.com> wrote:
> > > Just curious - how long are the command lines this patch generates? > > Well, it looks like that depends on a number of things. The entire > contents of > > %$scfg are added to the environment as PMXCFG_*, the full path to the ssh > > key is added to the environment as PMXVAR_SSHKEY (and then added again > > as an argument to ssh, if ssh is used), and depending on the command > being > > issued, you either get PMXVAR_LUNDEV or PMXVAR_LUNUUID, set to the > > appropriate value. So potentially quite long - certainly longer than I > expected > > on my first glance through the code. > > I think you should not pass any configuration from Proxmox to ZFS server. > Instead, > the script on the ZFS server side should have its own configuration file. > > What do you think about that? > >
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel