On 15/01/2016 7:13 PM, Jean-Michel Barbet 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.
Just to through a spanner in the works, have you thought about using an
overlay filesystem?
https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt
--
Steven Haigh
Email: [log in to unmask]
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897