diff --git a/installation/static_ip.sh b/installation/static_ip.sh new file mode 100644 index 0000000..0e9f2a0 --- /dev/null +++ b/installation/static_ip.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +config="auto $1 +iface $1 inet static + address 192.168.1.1 + netmask 255.255.255.0 + gateway 192.168.1.0" + +echo -e "$config" | sudo tee /etc/network/interfaces >/dev/null