How to start the client Nodes including Setup for Nodes
To provision the nodes, we provide a pure Bash provisioning script. The hard manual way is documented here.
Compatibility: currently only Ubuntu 26.04 is supported by the provisioning script.
We also keep a cloud-init.yml template in this directory, but the recommended setup flow is the Bash script below.
Use rudl-provision-maschine.sh to provision the machine directly on the server without running cloud-init.
1) Login as root to your new server.
2) Go to /root and run:
apt-get update
apt-get install -y curl vim lsb-release
export RUDL_DOWNLOAD_URL=https://raw.githubusercontent.com/rudl-project/rudl.infracamp.org/refs/heads/main/docs/setup/provision/script/
Problem with vim on new Ubuntu 26.04:
Copy n paste issue with mouse support. Disable mouse support for vim:
update-alternatives --config editor ## Set Editor to vim.basic
echo "set mouse=" > ~/.vimrc ## Disable mouse support for vim
3) Create the server.env file with the required variables.
Download the template:
curl -fsSL ${RUDL_DOWNLOAD_URL}server.env.txt -o server.env
Important variables:
# Firewall
OPEN_PORTS_TCP="22,80,443"
OPEN_PORTS_UDP=""
# DNS
DISABLE_SYSTEMD_RESOLVED_STUB="false"
Notes:
OPEN_PORTS_TCP or OPEN_PORTS_UDP empty ("") if no ports should be opened for that protocol.dport { ... } rule is not written.53 for both TCP and UDP.DISABLE_SYSTEMD_RESOLVED_STUB="true", you must provide working nameservers in your netplan configuration, otherwise DNS resolution may stop working.4) Download the provisioning script and run it:
curl -fsSL ${RUDL_DOWNLOAD_URL}rudl-provision-maschine.sh -o rudl-provision-maschine.sh
chmod +x rudl-provision-maschine.sh
./rudl-provision-maschine.sh ./server.env
For debugging:
./rudl-provision-maschine.sh ./server.env --debug
What the script does:
The script does not edit netplan. If you disable the stub listener, configure nameservers manually in your netplan config first.