SCIENTIFIC-LINUX-USERS Archives

January 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steven Haigh <[log in to unmask]>
Reply To:
Steven Haigh <[log in to unmask]>
Date:
Fri, 15 Jan 2016 20:07:24 +1100
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1027 bytes) , signature.asc (834 bytes)
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



ATOM RSS1 RSS2