Spawnd Automated Installer
To install or update
spawnd on your machine, you can use our script. Much like
Bosswave, installation and updating are done like so:
curl get.bw2.io/spawnpoint | bash
Currently, the script only supports
armv7l versions of Linux that
systemd (e.g., Ubuntu 16.04 and later). The script should fail gracefully
when run on other platforms.
This script will then take the following steps:
- Check for the necessary dependencies: either
ragentas well as
- Create a
spawnduser, if one does not already exist, and add it to the
- Pull the appropriate Spawnpoint daemon container from Docker's repository.
- Install a
systemdunit file to manage execution of the
- Automatically populate the configuration file in
/etc/spawnd/config.ymlBy default, this is done through interactive prompts, but each of these parameters may also be defined through environment variables if a non-interactive installation is required.
$SPAWND_INSTALLER_ENTITY): The absolute path to the Bosswave entity file that will identify this Spawnpoint for all Bosswave operations. Note that this file will be copied into
$SPAWND_INSTALLER_PATH): The base Bosswave URI for the Spawnpoint.
$SPAWND_INSTALLER_MEMORY): The total amount of memory to allocate for the containers running on this Spawnpoint.
$SPAWND_INSTALLER_CPU_SHARES): The total amount of CPU shares to allocate to containers running on this Spawnopint. Remember, this should be 1024 shares per core.
- Start up the new
spawndservice, after enabling it to start on boot as well.