7.4. Adding an ISO file as a CD-ROM to a guest configuration file

7.4. Adding an ISO file as a CD-ROM to a guest configuration file

You may be prompted for Red Hat Enterprise Linux Installation CD-ROMs during the initial installation to add additional software components or packages. This method can make any ISO, or file based image, available as a device for your guest. This might be useful for installing software from an ISO file or other media source(for example, a downloaded image).

The syntax for adding an ISO image as a new device to a guest is as following:

['file:/var/lib/xen/images/win2003sp1.dsk,hda,w',\
'file:/xen/trees/ISO/WIN/en_windows_server_2003_with_sp1_standard.iso,hdc:cdrom,r', ]

In the example above you can see how the file en_windows_server_2003_with_sp1_standard.iso has been added to the guest configuration. Once you reboot your guest this ISO image will be configured as a CD Rom driver inside guest.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.