Re: specifying addon_product URL

Thomas Fehr <[email protected]>
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Hi,

On Wed, Nov 14, Jochen Schaefer wrote:

> Hi,
> 
> following situation: we need to mount an isoimage from a USB device during
> installation.
> Following media URL is working for us:
> 
> <media_url><![CDATA[iso:/?iso=SLES11-SP1-Updates-PROD.iso&url=hd:///products/
> isos/?device=/dev/sda1]]></media_url>
> 
> Unfortunately this method relies on device names like sda. In rare situations
> we need to plug two usb devices into the server. At this point sda would change
> to sdb.
> 
> We are searching a solution where we can specify the LABEL of the ISO image
> like described at opensuse.org/linuxrc
> 
> install=hd:/?device=*label/foo
> 
> we tried following URL:
> <media_url><![CDATA[iso:/?iso=SLES11-SP2-Updates-PROD.iso&url=hd:/products/isos
> /?device=*label/DTM2]]></media_url>
> 
> blkid shows the right Label. But that didn't work.
> 
> Does anybody know how to specify the URL such we can mount an ISO via Label?

Udev creates links for all bock devices containing a label in /dev/disk/by-label.
Sou you could use device=/dev/disk/by-label/<labelname> instead of 
device=/dev/sda1. 

Tschuess, 
	Thomas Fehr
-- 
  Thomas Fehr, SuSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
  GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
  Tel: +49-911-74053-0,  Fax: +49-911-74053-482,  Email: [email protected]
  GPG public key available.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
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.