Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 956 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 956 Bytes

Multipass with Juju dev environment

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

Mount

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.

Integrate

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