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:
Stephen John Smoogen <[log in to unmask]>
Reply To:
Stephen John Smoogen <[log in to unmask]>
Date:
Fri, 15 Jan 2016 09:50:11 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
On 15 January 2016 at 01:13, Jean-Michel Barbet
<[log in to unmask]> 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: [log in to unmask]
> ------------------------------------------------------------------------



-- 
Stephen J Smoogen.

ATOM RSS1 RSS2