[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Accessing floppy from %post
- From: "Taylor, ForrestX" <forrestx taylor intel com>
- To: "'kickstart-list redhat com'" <kickstart-list redhat com>
- Subject: RE: Accessing floppy from %post
- Date: Mon, 10 Dec 2001 14:02:50 -0800
> Hi All,
>
> I want to be able to copy some files from a secure server. I
> don't want
> to expose those files with nfs, so I was thinking of using scp with an
> identity key, which I would like to store on the Kickstart floppy. The
> problem is, I'm not sure how to access the floppy from the %post
> section. I tried things like
>
> Mkdir /mnt/floppy; mount /dev/fd0 /mnt/floppy and
>
> Mount /mnt/sysimage/dev/fd0 /mnt/floppy,
>
> But these do not seem to work. Could somebody point me in the right
> direction? The HOWTO doesn't seem to explain how to do this.
>
> Jan
>
> wyvern uvic ca
IIRC the floppy should be mounted under /mnt/source (look at this directory
once kickstart has begun). If it is, you should be able to copy files over
in the %post --nochroot environment:
%post --nochroot
cp /mnt/source/ssh-key /mnt/sysimage/root/.ssh/identity (the .ssh directory
must exist, of course).
Forrest
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]