Starbeamrainbowlabs
736458538b
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 4 seconds
with a huuuuuge hack
19 lines
390 B
Bash
Executable file
19 lines
390 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
task_begin "Configuring wesher";
|
|
|
|
# HACK: Ref https://github.com/costela/wesher/issues/70
|
|
WESHER_CLUSTER_KEY="${wesher_secret}" wesher /usr/local/sbin/wesher --overlay-net 172.31.250.0/16 --log-level info --join "${wesher_join_ip}" &
|
|
|
|
sleep 5;
|
|
killall wesher;
|
|
sleep 5;
|
|
|
|
task_end "$?";
|
|
|
|
task_begin "Starting wesher";
|
|
|
|
sudo systemctl enable --now wesher;
|
|
|
|
task_end "$?";
|