This tool is used to quickly push and pull LXD images from (lxd-images) GitHub.
Its very much a WIP/PoC, dont take it too seriously just yet.
You can find prebuilt versions in releases, or simply do wget as shown below:
wget https://github.com/lxd-images/CLITool/raw/master/lxd-images.phar
/usr/bin/php lxd-images.phar -w
In case you wanted to contribute or convert for your own needs (if you do at least star this project to show your love).
$ git clone [email protected]:lxd-images/CLITool.git . && composer install
To build the lxd-images.phar
run:
bash /usr/bin/php -c /etc/php/7.0/cli/php.ini -f box.phar build -v
or:
bash dev-build.sh
Check in dev-install.sh
that you got the right stuff, you might need to change PHP version etc.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.