canonical / multipass-blueprints

Blueprint definitions for [`multipass launch`](https://multipass.run)
GNU General Public License v3.0
67 stars 42 forks source link

Add workfow for the Anbox Cloud Appliance #3

Closed morphis closed 3 years ago

morphis commented 3 years ago

This installs everything necessary for the Anbox Cloud Appliance. In essence this consists of a couple of snap packages to install but we also have to switch to the generic kernel as the default kvm one doesn't ship with the binder and ashmem kernel modules we require.

morphis commented 3 years ago

Thanks Simon! Some comments inline.

For reference, you can try this with:

$ snap stop multipass
$ sudo tee /etc/systemd/system/snap.multipass.multipassd.service.d/override.conf <<EOF
[Service]         
Environment="MULTIPASS_WORKFLOWS_URL=https://github.com/morphis/multipass-workflows/archive/refs/heads/add-anbox-cloud-appliance.zip"
EOF
$ sudo systemctl daemon-reload
$ snap start multipass
$ multipass launch anbox-cloud-appliance

Thanks! Ran that locally and worked as expected.

morphis commented 3 years ago

Thanks @Saviq ! Added the suggestion.

morphis commented 3 years ago

Just tested and verified, the update cloud-init configuration works fine