How to Install a VM's OS from Installation Source
From openSUSE
THIS PAGE STILL BEING DEVELOPED (5 JUNE 2006)
Contents |
Before You Begin
Make sure you have booted the Virtual Machine Server kernel (Xen). You must have installation source available either on local media (hard disk) or available on another server through FTP, HTTP or NFS.
Creating an Install Source From CD/DVD or Existing ISO Image
You may setup the install server using the YaST Module Installation-Server. Go to YaSt | Miscellaneous | Installation Server
Once the install server screen is open, add a new server. The configuration screen will appear.
The next screen gives you the choice of reading from a CD or DVD or pointing to existing ISO images already available on local media. In this example we will read from a DVD. Press "Next" and you will be prompted to insert the appropriate media. Insert the media and press "Continue".
Press "Finished" and the window will close. You are now have an installation source for creating an Xen virtual machine.
Using FTP, HTTP or NFS for Installation Source
Alternately you can use an HTTP repository (apache) like this:
Alias /sles10/ /install/sles10/i386/
<Directory /install/sles10/i386/>
Options +Indexes +FollowSymLinks
IndexOptions +NameWidth=*
Order allow,deny
Allow from all
</Directory
Copy the SLES 10 DVD to /install/sles10/i386.
If you desire to install unattended you may need an XML controll file. See under: AutoYaST Documentation
Install a VM's OS from Installation Source using AutoYaST
Just add to your existing vm config file:
extra = 'install=http://<install-server>/sles10/ TERM=xterm textmode=1 vnc=0 autoyast=http://<install-server>/XML/sles10.xml'
If you want an "nice" graphic interface remove "textmode=1" and add "vnc=1 vncpassword=foobar"
That's all.
This page is part of:




