mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
entries in vif to guide the configuration. This is much less confusing. Closes bug #440. Change the example configuration files to match. Also change them to use the XenSource OUI in the MAC addresses. Also change xm-test to match. Remove the obsolete ipaddr configuration entry, and the backend_mac vif config option. Remove the preprocess_vifs function, folding it into the configure_vifs function, and creating a simple comma_sep_kv_to_dict helper. Remove the configure_vfr method, as it is unused. Signed-off-by: Ewan Mellor <ewan@xensource.com>
22 lines
478 B
Python
22 lines
478 B
Python
# -*- mode: python; -*-
|
|
#
|
|
# xm create configuration example.
|
|
#
|
|
# This configuration is appropriate for using Network Block Device (NBD)
|
|
# filesystems.
|
|
#
|
|
# Each of these parameters will need changing to match your setup.
|
|
#
|
|
|
|
kernel = "/boot/vmlinuz-2.6.13-15b-xen"
|
|
ramdisk = "/boot/initrd-2.6.13-15b-xen"
|
|
memory = 128
|
|
name = "nbd4"
|
|
vif = [ '' ]
|
|
# Please change PORT
|
|
disk = [ 'nbd:134.100.233.115 20004,hda1,w' ]
|
|
dhcp = "dhcp"
|
|
hostname= "nbd4"
|
|
root = "/dev/hda1 ro"
|
|
extra = "3"
|