The line:
iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT \
changes to:
iptables "$c" FORWARD -m physdev --physdev-is-bridged --physdev-in "$vif" "$@" -j ACCEPT \
AND the line:
--physdev-out "$vif" -j ACCEPT 2>/dev/null
changes to:
--physdev-is-bridged --physdev-out "$vif" -j ACCEPT 2>/dev/null
Press the <Esc> key to exit insert mode.
Change the lines:
loop forcedeth max_interrupt_work=20 optimization_mode=1 poll_interval=100
into:
loop max_loop=255 #forcedeth max_interrupt_work=20 optimization_mode=1 poll_interval=100
and press <Esc> to exit insert mode.
# # /etc/xen-tools/xen-tools.conf # ## ## Virtual Machine configuration ## dir = /xen install-method = debootstrap ## ## Disk and Sizing options ## size = 2Gb # Disk image size. memory = 128Mb # Memory size swap = 128Mb # Swap size fs = ext3 # use the EXT3 filesystem for the disk image. dist = squeeze # Default distribution to install. images = full ## ## Network configuration ## dhcp = 1 gateway = 10.80.3.1 netmask = 255.255.255.0 ## ## Password configuration ## passwd = 1 ## ## Package Mirror configuration ## arch = i386 mirror = http://mirror/debian/ mirror_squeeze = http://mirror/debian/ ## ## Filesystem settings ## ext3_options = noatime,nodiratime,errors=remount-ro ext2_options = noatime,nodiratime,errors=remount-ro xfs_options = defaults reiser_options = defaults ## ## Xen VM boot settings ## pygrub = 1 ## ## Xen VM settings ## serial_device = hvc0 disk_device = xvda ## ## Xen configuration files ## output = /xen/conf extension = .cfg
Then press <Esc> to exit insert mode.
Enter the following at the end of the file:
# Disable OS prober to prevent virtual machines on logical volumes from # appearing in the boot menu. GRUB_DISABLE_OS_PROBER=true
Then press <Esc> to leave insert mode.
Make the following changes:
XENDOMAINS_SAVE=/var/lib/xen/save
gets changed to:
XENDOMAINS_SAVE=""
Then change the XENDOMAINS_RESTORE line to:
XENDOMAINS_RESTORE=false
Press the <Esc> key to exit insert mode.
VM server is now installed and confirmed. Type “exit” and press <Enter> to logoff.