CLI to Download LXC Templates from https://uk.lxd.images.canonical.com
This command line interface will help you to find and download LXC Templates. It provides a search method and will give you hints to find the correct image.
Install requirements yq and curl
Ubuntu:
snap install yq
sudo apt install curl
macOS:
brew install yq curl
Install lxc-template-downloader
sudo curl -s -o /usr/bin/lxc-template-downloader https://raw.githubusercontent.com/n-stone/LXC-Template-Downloader/main/lxc-template-downloader
sudo chmod +x /usr/bin/lxc-template-downloader
You can download for images:
This function will also give you hints:
Or you can search for keywords:
Beware, therefore a the whole file tree musst be crawled, this will take some time: