Skip to content

Simple multipass configuration for starting Juju dev environment. Feel free to integrate into your Juju charm project.

License

Notifications You must be signed in to change notification settings

huntdatacenter/multipass-juju

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multipass VM with Juju dev environment

inspiration: https://github.com/Abuelodelanada/charm-dev-utils/tree/main/cloud-init

Requirements

Install Multipass on MAC OS:

brew install multipass

Usage

Run make command to show help:

make

Expected output:

up                   Start VM
down                 Stop VM
ssh                  SSH to VM
destroy              Destroy VM
help                 Show this help

Start virtual machine with Juju by running:

make up

Reconnecting later:

make ssh

Destroy the machine when finished:

make destroy

Mount

Mounting is configured to attach the current directory into VM inside home (e.g. ~/project if your directory is called project).

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

About

Simple multipass configuration for starting Juju dev environment. Feel free to integrate into your Juju charm project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published