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

Chun Tat David Chu <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
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 <
[email protected]> 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
>
>
>

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.