Setup scripts can be written in any language that is supported by the VM. Here are the rules about setup scripts:
- It must return a nonzero exit code
- In must be named
setup-<user>
where<user>
is the user the lab will run as. For example if the user islabuser
it will besetup-labuser
- Use a shebang at the top like this:
#!/bin/env python3
or#!/usr/bin/node
or#!/bin/bash
- Make sure it's executable (use
chmod +x setup-labserver
) - Should be in the same folder as your
assignment.md
These scripts can be used at the Challenge level or at the track level