Wrong IP set with seximenu in /etc/hosts
Closed this issue · 1 comments
vmdude commented
When using SexiMenu to update network settings, there is an issue with /etc/hosts file as ip address is wrongly declared.
For instance:
root@log02:/usr/share/nginx/www# cat /etc/hosts
127.0.0.1 localhost
log02.skynet.local
Instead of:
root@log02:/usr/share/nginx/www# cat /etc/hosts
127.0.0.1 localhost
192.168.0.218 log02.skynet.local
vmdude commented
Problem appear at line 344 with old $IP variable used instead of $inputip