for example, I tried on GCP. It showing some error.
root@gcp:~# wget https://raw.githubusercontent.com/l-n-s/wireguard-install/master/wireguard-install.sh -O wireguard-install.sh
--2019-11-11 08:17:41-- https://raw.githubusercontent.com/l-n-s/wireguard-install/master/wireguard-install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7427 (7.3K) [text/plain]
Saving to: ‘wireguard-install.sh’
wireguard-install.sh 100%[=============================================>] 7.25K --.-KB/s in 0s
2019-11-11 08:17:42 (53.9 MB/s) - ‘wireguard-install.sh’ saved [7427/7427]
root@gcp:~# bash wireguard-install.sh
Servers public IP address is 10.XXX.0.6. Is that correct? [y/n]: n
Aborted. Use environment variable SERVER_HOST to set the correct public IP address
root@gcp:~#
for example, I tried on GCP. It showing some error.