Skip to content
Snippets Groups Projects
Verified Commit bf817127 authored by David Beniamine's avatar David Beniamine
Browse files

Use school ip

parent 298b5906
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ getip(){ ...@@ -21,7 +21,7 @@ getip(){
< /var/lib/dhcp/dhcpd.leases < /var/lib/dhcp/dhcpd.leases
} }
IP=$(ip a | awk '/inet.*containers/ {print $2}' | cut -d / -f 1) IP=$(ip a | awk '/inet.*eth/ {print $2}' | cut -d / -f 1)
port=9998 port=9998
conf_dir="/etc/registry" conf_dir="/etc/registry"
conf_file="$conf_dir/hosts" conf_file="$conf_dir/hosts"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment