Ciclope's picture

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

Forum: 
Jeremy Davis's picture

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...

Add new comment