<p dir="ltr">> Just curious - how long are the command lines this patch generates?</p>
<p dir="ltr">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.</p>