Distrobuilder import-into-lxd remote

I’ve been familiarising with Distrobuilder. I’m trying to use the --import-into-lxd to import the images into a remote lxd. I can’t work out how to do that, if it’s possible.

Doing it as a two-step works fine, i.e. bulding with distrobuilder and then doing lxc image import lxd.tar.xz rootfs.squashfs myserver: --alias myimage.

Is it possible for Distrobuilder to import directly into a remote ?

Any ideas @monstermunchkin ?

Nope. It’s only possible to import the image into the locally running LXD server.

@monstermunchkin thanks for clarifying.

Would that be something that might be supported in a future version? It seems like a useful thing to me.