Skip to content

Conversation

@gabriel-samfira
Copy link
Member

If we give CreateInstance() a remote image as a source, it will automatically download the image and cache it locally. If configured, LXD will also auto update the image periodically. Using CopyImage() gives us none of this.

This change removes the CopyImage() code and allows CreateImage() to do the right thing.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit 524ed99 into cloudbase:main Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant