14 lines
501 B
Bash
Executable file
14 lines
501 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
wesher_secret="$(ask_password "wesher configuration" "Enter the wesher shared secret:")";
|
|
|
|
wesher_join_ip="$(ask_text "wesher configuration" "Enter an IP of a host in the cluster to join:")";
|
|
|
|
queue_apt_install "raspberrypi-kernel-headers" "wireguard" "wesher" "wesher-systemd";
|
|
|
|
|
|
queue_postinstall_step "10-wesher.sh";
|
|
|
|
queue_firewall_rule allow 7946 comment wesher-gossip;
|
|
queue_firewall_rule allow 51820/udp comment wesher-wireguard;
|
|
queue_firewall_rule allow in on wgoverlay;
|