There has to be another solution. How do we submit an enhancement suggestion?
My imaginary 'solution' was to add a directory to the Datacenter Storage and specify that it contains ISOs, amongst other things
ID: FASTISOS
Type: Directory
Content: ISO image
Path/Target: /nimrod/ISOs
which,
you would think, would work, but when I go to make a new VM and select an ISO, not so much.
hm, maybe it's not mounted right?
root@pr0xm0x:/nimrod/ISOs# zfs list
NAME USED AVAIL REFER MOUNTPOINT
[...]
nimrod/ISOs 51.0G 117G 51.0G /nimrod/ISOs
hrm
root@pr0xm0x:/nimrod/ISOs# ls -al
total 44619043
drwxr-xr-x 8 jackd jackd 61 Jan 25 2016 .
drwxr-xr-x 7 root root 7 Oct 29 05:18 ..
-rwxr-xr-x 1 jackd jackd 2144337920 Mar 7 2013 avlinux5.0.3-tube-lxde-i386-en.iso
-rwxr-xr-x 1 jackd jackd 613416960 May 10 2014 bodhi-2.4.0-32.iso
well, they sure look like they're there
sdc 8:32 0 2.7T 0 disk
├─sdc1 8:33 0 930G 0 part /root/tmp2
├─sdc2 8:34 0 1.8T 0 part /root/tmp
└─sdc3 8:35 0 64G 0 part /mnt/pve/ISOs
"No. All have to be in the root of the iso folder."
Well that's easy enough
root@pr0xm0x:/nimrod/ISOs# zfs get all nimrod/ISOs
nimrod/ISOs mountpoint /nimrod/ISOs default
root@pr0xm0x:/nimrod/ISOs# zfs set mountpoint=/pve/ISOs nimrod/ISOs
cannot unmount '/nimrod/ISOs': pool or dataset is busy
root@pr0xm0x:/nimrod/ISOs# cd / && echo "durr..., that helps"
root@pr0xm0x:/# zfs set mountpoint=/pve/ISOs nimrod/ISOs
root@pr0xm0x:/# ls /pve/ISOs/
avlinux5.0.3-tube-lxde-i386-en.iso PCBSD9.1-x64-DVD.iso
bodhi-2.4.0-32.iso pmagic-5.10.iso
Now I go to make a new virtual machine and "yay ISOs!" still kind of [REDACTED], though, I'd like if I add a new folder with ISO images it gets automatically scanned and added to list, images are verified with name.md5 and/or name.sha256 and Bob's your uncle.
The combined mount points are most likely going to cause problems.