back to the upper level

On-the-fly /etc/sysconfig/ethercat

I have several diskless computers which share the same NFS root filesystem in read-only. But each computer needs its own /etc/sysconfig/ethercat file because the MAC addresses are different.
The solution is to generate a custom /etc/sysconfig/ethercat during the boot process, just before starting the ethercat service.

Scripts

How to use it?

  1. On the NFS root filesystem:
  2. Modify the booting sequence to call gen_ethercat_config.py before starting the ethercat service.
  3. Call /etc/init.d/ethercat to start the ethercat service

How does it works?


Updated on January 17th, 2014 by Sebastien BLANCHET