[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Accessing floppy from %post
- From: "wyvern" <wyvern uvic ca>
- To: <kickstart-list redhat com>
- Subject: RE: Accessing floppy from %post
- Date: Mon, 10 Dec 2001 14:09:13 -0800
Ooops, I should have mentioned that I'm installing linux via NFS. Thus
/mnt/source points to the nfs filesystem, not the floppy. I'm sorry, I
should have mentioned this. Is there another way?
Jan
>>>Jan Van Uytven>>> System Administrator>>>
>>>University of Victoria TRIUMF>>>>>>>>>>>>
>>>wyvern uvic ca>>>(250)721-7741>>>>>>>>
>>>altissima quaeque flumina minimo sono labi
-----Original Message-----
From: kickstart-list-admin redhat com
[mailto:kickstart-list-admin redhat com] On Behalf Of Taylor, ForrestX
Sent: December 10, 2001 2:03 PM
To: 'kickstart-list redhat com'
Subject: RE: Accessing floppy from %post
> 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
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://listman.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]