Bug 846724

Summary: RFE: Pick up and use kickstart files from persistent storage on a usb key
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, awilliam, dan.mashal, g.kaviyarasu, jonathan, robatino, satellitgo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-21 01:42:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jóhann B. Guðmundsson 2012-08-08 14:17:10 UTC
Description of problem:

The general use case is for administrator that need to go onside to clients to install/setup Fedora/RHEL. 

The idea in steps

1. Administrators creates an install usb key with persistent storage
2. Administrator creates and copy's the kick start file(s) to the persistent storage space on the usb key. 
3. Administrator goes on site and boots into the installer. 
4. Anaconda reads the content of the relevant persistent storage space and offers the administrator to choose kickstart file to install from withing the UI.

Although not tested I assume this works already with "ks" from the kernel command line with either ks=file:<path> or ks=hd:<dev>:<path> 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lumens 2012-11-13 14:14:46 UTC
*** Bug 876032 has been marked as a duplicate of this bug. ***

Comment 2 satellitgo 2012-11-13 15:35:53 UTC
will this work with f18 Anaconda Beta DVD? Has anyone written a wiki page on how to do this?

Comment 3 Andre Robatino 2013-05-08 17:34:56 UTC
Any idea when this will happen? At this point it would make sense to just dump floppy support and substitute usb keys.

Comment 4 Adam Williamson 2013-06-08 04:47:08 UTC
ks deployment from arbitrary mountable block devices is already supposed to work: see https://fedoraproject.org/wiki/Anaconda_Boot_Options#ks , "ks=hd:<dev>:<path> (dev = 'hda1', for example)".

Comment 5 Andre Robatino 2013-06-09 09:10:56 UTC
(In reply to Adam Williamson from comment #4)
> ks deployment from arbitrary mountable block devices is already supposed to
> work: see https://fedoraproject.org/wiki/Anaconda_Boot_Options#ks ,
> "ks=hd:<dev>:<path> (dev = 'hda1', for example)".

It seems to work with recent images: I have a thumb drive which is mounted as sdb4 which had a partial kickstart file ks.cfg, so I booted the 19 Final TC2 i386 DVD in a VirtualBox guest, using "inst.ks=hd:sdb4:/ks.cfg". The resulting behavior is exactly the same as that noted in bug 972265 and bug 972266, so it appears to work the same as if the kickstart file was downloaded. (It did NOT work when I booted the F18 DVD, so the support must be more recent.)

Note that most thumb drives are mounted as sdb1, mine was sdb4 due to being reformatted for USB-ZIP compatibility.

Comment 6 Brian Lane 2013-06-21 01:42:55 UTC
You should also be able to use the UUID or LABEL so that you don't need to know what device it showed up as.