Setup emergence server with cloud-init

There is now a cloud-init config file available for spinning up a VM with emergence ready-to-go (and by ready-to-go I mean with a control panel login of admin/admin that needs to be deleted). This setup script also makes use of mariadb in place of MySQL for the first time, which the kernel now supports.

Simply use the contents of this cloud-config.yaml file in your cloud-init supporting platform: https://github.com/JarvusInnovations/Emergence/blob/master/cloud-config.yaml

With Digital Ocean, you can check off the “User Data” option when creating a new droplet and paste the contents of cloud-config.yaml into the resulting text area.

To launch an LXC container with emergence, run:

sudo lxc launch ubuntu: MYEMERGENCE --config=user.user-data="$(wget https://raw.githubusercontent.com/JarvusInnovations/Emergence/master/cloud-config.yaml -O -)"