Hello mates!
I have upgraded the cloud-init scripts to create Multipass virtual machines for charm development!
I have made some changes to the scripts:
-
Boostrap a
lxd
controller: Now we have 2 controllers in the VM out of the box: Amicrok8s
and alxd
one so we can deploy and test machine and k8s charms. -
Remove
welcome
model: Truth be told, it did not add much value. -
Disable
ipv6
. Having charms with IPv6 addresses and charms with IPv4 addresses is a mess. We can always enable it again if needed! -
Change K8s controller name:
charm-dev-batteries
->microk8s
: “Readability counts.” -
juju
theme for zsh added: Based on @sed-i’sjuju plugin for Oh my zsh
, I added 2 more functions so now we have a prompt that tells us whichcontroller
andmodel
we are connected to:
Please take a look at: https://github.com/Abuelodelanada/charm-dev-utils
Comments are welcome!
Happy charming!
Jose