Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: hordur on August 04, 2009, 01:52:50 am

Title: /etc/network/interfaces config stub
Post by: hordur on August 04, 2009, 01:52:50 am
Hello,

I've had to modify some of the config template stubs (located in /usr/share/ebox/stubs/) for some customization of config files.
I was wondering if there was some template file like that for the /etc/network/interfaces file as I want to add some custom configuration in there as well. Does anyone know where I could find that?

Thanks,
Hordur
Title: Re: /etc/network/interfaces config stub
Post by: Javier Amor Garcia on August 05, 2009, 10:30:49 am
The interfaces files is generated by eBox but no stub file is used., is generated with a method and print calls :( . This is only for legacy reasons, we must refactor this seem day to use the template system.

Anyway if you want go ahead and change it, the generation method is EBox::Network::generateInterfaces