ia64/xen-unstable

view tools/examples/xmexample.nbd @ 19835:edfdeb150f27

Fix buildsystem to detect udev > version 124

udev removed the udevinfo symlink from versions higher than 123 and
xen's build-system could not detect if udev is in place and has the
required version.

Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:02:37 2009 +0100 (2009-06-25)
parents bdcc838b9a72
children
line source
1 # -*- mode: python; -*-
2 #
3 # xm create configuration example.
4 #
5 # This configuration is appropriate for using Network Block Device (NBD)
6 # filesystems.
7 #
8 # Each of these parameters will need changing to match your setup.
9 #
11 kernel = "/boot/vmlinuz-2.6.13-15b-xen"
12 ramdisk = "/boot/initrd-2.6.13-15b-xen"
14 # WARNING: Creating a domain with insufficient memory may cause out of
15 # memory errors. The domain needs enough memory to boot kernel
16 # and modules. Allocating less than 32MBs is not recommended.
17 memory = 128
19 name = "nbd4"
20 vif = [ '' ]
21 # Please change PORT
22 disk = [ 'nbd:134.100.233.115 20004,hda1,w' ]
23 dhcp = "dhcp"
24 hostname= "nbd4"
25 root = "/dev/hda1 ro"
26 extra = "3"