Submitted by pcfreak30 on Mon, 02/17/2014 - 08:32
Have the ability to auto-scan a image storage location and auto-import images as well as detecting the type. We have a mass number of templates, and would be nice to have them auto-read.
Status:
Active
Comments
Submitted by JamieCameron on Mon, 02/17/2014 - 19:25 Comment #1
Auto-scanning is tricky, because detecting meta-information like the architecture and OS is hard to do reliably. Perhaps what you really need is an API command to import an image, which could be run from a shell script over all files in a directory?
Submitted by pcfreak30 on Mon, 02/17/2014 - 20:47 Comment #2
That still poses an issue as to what OS it is. We basically have a lot of images in /vz/template/cache on every node due to how solusvm works. So at present I have to go and add each one manually.
Something for mass import to an extent is what would be desired.
Submitted by JamieCameron on Mon, 02/17/2014 - 22:37 Comment #3
The current one-by-one manual image import process in Cloudmin can't automatically detect the OS from an arbitrary image file either though - it has to be selected by the user.