diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 6853205..e7f0ab3 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -9,29 +9,30 @@ -## Issue +### Issue -## Have you searched for similar issues and solutions? +### Have you searched for similar issues and solutions? (yes/no / which issues?) -## Console output of `curl -L install.pivpn.io | bash` +### Console output of `curl -L install.pivpn.io | bash` ``` Output Here ``` -## Console output of `pivpn add` or `pivpn add nopass` +### Console output of `pivpn add` or `pivpn add nopass` ``` Output Here ``` -## Console output of `pivpn debug` +### Console output of `pivpn debug` ``` Output Here ``` -## Have you taken any steps towards solving your issue? - which? - +### Have you taken any steps towards solving your issue? +``` + which? +``` diff --git a/auto_install/install.sh b/auto_install/install.sh index 9632e5d..4da43e1 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -338,7 +338,7 @@ It is also possible to use a DHCP reservation, but if you are going to do that, setDHCPCD() { # Append these lines to dhcpcd.conf to enable a static IP echo "interface ${pivpnInterface} - static ip_address=${IPv4addr}/24 + static ip_address=${IPv4addr} static routers=${IPv4gw} static domain_name_servers=${IPv4dns}" | $SUDO tee -a ${dhcpcdFile} >/dev/null } @@ -350,7 +350,7 @@ setStaticIPv4() { echo "::: Static IP already configured." else setDHCPCD - $SUDO ip addr replace dev "${pivpnInterface}" "${IPv4addr}/24" + $SUDO ip addr replace dev "${pivpnInterface}" "${IPv4addr}" echo ":::" echo "::: Setting IP to ${IPv4addr}. You may need to restart after the install is complete." echo ":::"