Specifying the kickstart file to use a repo on a USB device

Chun Tat David Chu beyonddc.storage at gmail.com
Fri May 20 18:13:22 UTC 2011


I think I got it working.

What I did is in the %pre, I mount my USB drive first and then I set the
repo using --baseurl=file:/tmp/my_repo

Let me know if there's any other way to point to a repo on an USB device in
the kickstart file.

Thanks,

David

On Fri, May 20, 2011 at 1:32 PM, Chun Tat David Chu <
beyonddc.storage at gmail.com> wrote:

> Hi,
>
> I have a question.  Is there a way to specify in the kickstart file to use
> a repo on a USB device?
>
> I did this on my kickstart file but no luck
> "repo --name=my_repo --baseurl=hd:sdb1/MY_REPO"
>
> On screen, I see the following warning message....
> "YumRepo Warning: not using ftp, http[s], or file for repos, skipping -
> hd:sdb1/MY_REPO"
>
> What would be the correct syntax to point to a USB device?
>
> Thanks!!
>
> - David
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20110520/fb4707b0/attachment.htm>


More information about the Kickstart-list mailing list