Author Topic: /etc/network/interfaces config stub  (Read 2137 times)

hordur

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
/etc/network/interfaces config stub
« 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

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: /etc/network/interfaces config stub
« Reply #1 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