I was wondering if it is possible to associate a default profile to an image and use this profile for every container which is started with this image?
Additionaly is there a way to set a profile from a remot host to a container launched from a remote host?
The only thing i could think of was this:
lxc launch <remote>:<image> -p <remote>:<some profile>
But I could not assign a remote profile to a container from a remote host.
Gives me the error (the profile does exist on the remote host):
Creating the container error: Failed container creation: - <remote url>: Requested profile '<remote>:<some profile>' doesn't exist
The same command with only the image given did work:
lxc launch <remote>:<image>