The way you're using "lxc image import" wouldn't work even if LXD would
allow insecure connections to the server.

"lxc image import" expects the URL to a path which will dynamically
based on HTTP headers return the list of files and fingerprint to import
the image as. When importing an image that way, LXD will not track its
expiry, auto-update it or treat it as a remote image in any way.

What you should get is 1) enable SSL (even if self-signed) on MAAS, or
add a proxy server in front that does that 2) have that endpoint provide
a valid simplestreams server.

At which point you can do "lxc remote add maas https://..."; and then use
that remote the same you would the "ubuntu:" remote in LXD.

** Changed in: lxd (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1659418

Title:
  lxd-client should accept images from non-SSL URLs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1659418/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to