I am trying to adapt a script (which I initially made for OpenStack)
to download official cloud images for various OSes, upload them to the
local ONE cloud, starting a VM and apply some customizations and then
save back the snapshot as image.
Unfortunately, I’m stuck a the beginning of the process: the
oneimage script, when passed a simple file name in the
part of the template, seems to assume that the path is to be located
on the server’s filesystem. Searching around, I have found this
script, which uses the trick of starting a local webserver on the
client and pointing
SOURCE=... back to it; unfortunately this trick
(or almost anything using
SOURCE=...) will not work in my local
setup, as the server is behind strict firewall rules which cannot be
Is there any way of uploading VM disk images to ONE from a command
line or a scripting API?
Thanks for any suggestion!