OutsideIT / FireMotD

:fire: Fire Framework Linux MoTD Generator :fire:
https://outsideit.net/firemotd
GNU General Public License v3.0
174 stars 45 forks source link

eth0 hard coded line 70 #1

Closed mathieuchateau closed 9 years ago

mathieuchateau commented 9 years ago

eth0 is expected line 70 in generate_motd.sh. It should be at least a variable at the top of the file.

On all my CentOS7 VM, no eth0 but ens160 instead (vmware)

willemdh commented 9 years ago

Hey Mathieu,

Thanks for letting me know. I changed some parts of the code so it no longer needs ifconfig. Instead I'm using ip route to get the ip address. Could you give it a try and let me know if it works for you?

Thanks and grtz

Willem

willemdh commented 9 years ago

No confirmation from @mathieuchateau , I'm considering this solved.