mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-10-24 17:50:54 +00:00
| .. | ||
| create-backup | ||
| majorupgrade | ||
| preloaded | ||
| remote-nextcloud-docker | ||
| remote-nextcloud-docker-ehdd | ||
| unsetvars | ||
| upgrade | ||
| upgrade-from-upstream | ||
| vanilla | ||
| .gitignore | ||
| .provision_defaults | ||
| parallel-boxlist.all | ||
| parallel-boxlist.default | ||
| parallel.sh | ||
| README.md | ||
To use lxd vm's:
-
run
tests/bin/lx_setup.sh. This only needs to be run once. -
run
tests/lxd/preloaded/create_preloaded.sh. Run this anytime a new base image is updated (usually when ubuntu updates would require a system reboot).
To bring up a vm:
-
It's helpful to have
vlxin your path. vlx is a tool that makeslxcact a little like vagrant. In bash, create an alias for it: `alias vlx="$(pwd)/tests/bin/vlx" -
set your working directory to the vm directory you'd like to start (eg.
cd "tests/lxd/vanilla"), then runvlx up -
to access the vm:
vlx shellorvlx ssh. all vm's have the source root mounted at /cloudinabox or /mailinabox, so you can change files locally and they'll be available on the vm for testing -
to destroy/delete the vm:
vlx destroy