3 configuring the guest – Oracle Audio Technologies E10898-02 User Manual
Page 33
Creating a Paravirtualized Guest Manually
Creating a Guest Virtual Machine
4-9
After you create the root file system for the guest, modify the guest configuration files
to reflect its configuration. For example, update /etc/hosts, /etc/fstab and any
network configuration files.
4.5.3 Configuring the Guest
Modify the following guest configuration files to configure the guest:
1.
Edit /mnt/etc/fstab to reflect the mounted file system in the guest.
/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda1 is the root of domU as set up in the configuration file.
2.
Edit /mnt/etc/sysconfig/network to include a valid host name.
GATEWAY is the same value 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 machine.
NETWORKING=yes
HOSTNAME=mycomputer.example.com
GATEWAY=139.185.48.1
3.
Edit the /mnt/etc/hosts file to include the IP address and hostname. Make sure
the IP address you use is unique and not being used by another computer.
127.0.0.1 localhost.localdomain localhost
139.185.48.212 mycomputer.example.com hostname
4.
Edit the /mnt/etc/sysconfig/network-scripts/ifcfg-eth0 file. Use the same MAC
address as the vif. If more than one MAC address is exported to the guest
operating system, you must to configure more network interfaces, for example,
eth1, eth2 in dom0.
The NETMASK and BROADCAST address must match the corresponding
network interface in dom0.
HWADDR is same as the MAC address vif.
IPADDR is the same 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
5.
Move /lib/tls to /lib/tls.disabled.
# mv /mnt/lib/tls /mnt/lib/tls.disabled
6.
Unmount /mnt.
# unmount /mnt