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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux