inspiration: https://github.com/Abuelodelanada/charm-dev-utils/tree/main/cloud-init
Install Multipass on MAC OS:
brew install multipass
Run make command to show help:
$ make
up Start VM
down Stop VM
ssh SSH to VM
destroy Destroy VM
help Show this help
Example - start Juju machine run:
make up && make ssh
Mounting is configured to work same as in Vagrant, project directory is mounted into /vagrant
path.
To be able to mount your project inside the VM on MacOS make sure to allow
System settings > Privacy > Full disk access
for multipassd
.
Feel free to integrate into your Juju charm project.
wget https://raw.githubusercontent.com/huntdatacenter/multipass-juju/main/juju.yaml
wget https://raw.githubusercontent.com/huntdatacenter/multipass-juju/main/Makefile