Oracle VM User Manual page 35

Table of Contents

Advertisement

Mount the guest root file system to /mnt to enable you to modify the
3.
configuration files.
Edit /mnt/etc/sysconfig/network to specify the host name.
4.
GATEWAY is same as dom0.
Hostname is the name of the virtual machine, for example,
mycomputer.example.com. Make sure the name you use is unique and not being
used by another computer.
NETWORKING=yes
HOSTNAME=mycomputer.example.com
GATEWAY=10.1.1.1
Edit the /mnt/etc/hosts file to include the hostname and IP address. Make sure
5.
that the IP address you use is unique and not being used by another machine.
127.0.0.1 localhost.localdomain localhost
10.1.1.1 mycomputer.example.com hostname
Edit /mnt/etc/sysconfig/network-scripts/ifcfg-eth0.
6.
Use the same MAC address as you use for the vif. If more than one MAC address
is exported to the guest operating system, you must configure more network
interfaces, for example, eth1, eth2.
The NETMASK and BROADCAST address must match the corresponding
network interface in dom0.
HWADDR is same as the MAC address in vif.
IPADDR is as in the /mnt/etc/hosts file.
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:50:56:02:ff:d3
IPADDR=10.1.1.1
NETMASK=255.255.254.0
BROADCAST=10.1.1.255
ONBOOT=yes
TYPE=Ethernet
The /etc/fstab file does not require modification with a hardware virtualized
guest. Hardware virtualized guests boot as a normal operating system. It reads the
partition table as usual at boot time.
Unmount /mnt.
7.
# unmount /mnt
Create the guest.
8.
# xm create -c /etc/xen/domain-config-file
Use VNCViewer to display the guest.
9.
# vncviewer hostname_of_dom0
# password : welcome
The guest is displayed.
Creating a Hardware Virtualized Guest Manually
Creating a Guest Virtual Machine 4-11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VM and is the answer not in the manual?

Table of Contents