<p dir="ltr">> I might have misunderstand what you are trying to do.</p>
<p dir="ltr">If I've followed this correctly, it's basically set it up to call a script instead of implementing things internally, and each storage entry (in storage.cfg) defines which script to call.  So you have scripts for each LUN implementation you use, and you select the one appropriate to the LUN you're connecting.  Might be oversimplifying, though.</p>

<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 2 Mar 2014 07:50:09 +0000<br>
Dietmar Maurer <<a href="mailto:dietmar@proxmox.com">dietmar@proxmox.com</a>> wrote:<br>
<br>
><br>
> Why do you want a single script? We can have multiple scripts, one for each server type.<br>
><br>
I might have misunderstand what you are trying to do.<br>
<br>
--<br>
Hilsen/Regards<br>
Michael Rasmussen<br>
<br>
Get my public GnuPG keys:<br>
michael <at> rasmussen <dot> cc<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E</a><br>
mir <at> datanom <dot> net<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C</a><br>
mir <at> miras <dot> org<br>
<a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917" target="_blank">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917</a><br>
--------------------------------------------------------------<br>
/usr/games/fortune -es says:<br>
Q:      What do you call the scratches that you get when a female<br>
        sheep bites you?<br>
A:      Ewe nicks.<br>
<br>_______________________________________________<br>
pve-devel mailing list<br>
<a href="mailto:pve-devel@pve.proxmox.com">pve-devel@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br>
<br></div>