Hello,

I have an issue with confconsole, basically I need to have the hostname in /etc/hosts with the current eth0 ip (and not the loopback) can anybody tell me how to modify the confconsole.py to make this happens?

 

Thanks!

 

Ciclope

Replies (1)

AFAIK confconsole doesn't touch hosts file

Reply 1

Currently confconsole doesn't get any info from (or write to) your hosts file... AFAIK confconsole reads (and writes to) /etc/network/interfaces.

Having said that there is probably no reason why you couldn't bend confconsole to do what you want. But I'm not much of a python guy so I couldn't even tell you where to start sorry...