On 15 January 2016 at 01:13, Jean-Michel Barbet <jean-michel.bar...@subatech.in2p3.fr> wrote: > Hello all, > > I am fighting with SL72 systemd. I am trying to build kind of an > appliance based on a LiveCD (created with livecd-creator). > > The idea is to read an USB key, early enough in the startup process, and > overwrite somes files in /etc with the content of the USB key. > In particular, there are /etc/sysconfig/network-script/ifcfg-xxx files > for configuring the network, ssh keys and a /etc/rsyslogd/file.conf > > I did it using a rc-local.service but it is not run early enough and > the network configuration is not right. > > => Did someone on this list try sth similar ? Ideas on how to have > the USB read early ? > > Moreover, I am doubtful on the use of NetworkManager service in this > situation.
I don't think this is actually a systemd or a networkmanager problem. It is a dracut problem and what you want to do is going to need to be in the kernel initramfs with the items in it. I hate to use the academic "The rest is left as a problem for the student." but I haven't done much with this myself. > > Thanks in advance. > > JM > > -- > ------------------------------------------------------------------------ > Jean-michel BARBET | Tel: +33 (0)2 51 85 84 86 > Laboratoire SUBATECH Nantes France | Fax: +33 (0)2 51 85 84 79 > CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: bar...@subatech.in2p3.fr > ------------------------------------------------------------------------ -- Stephen J Smoogen.