ia64/xen-unstable

annotate 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
rev   line source
emellor@7526 1 # -*- mode: python; -*-
emellor@7526 2 #
emellor@7526 3 # xm create configuration example.
emellor@7526 4 #
emellor@7526 5 # This configuration is appropriate for using Network Block Device (NBD)
emellor@7526 6 # filesystems.
emellor@7526 7 #
emellor@7526 8 # Each of these parameters will need changing to match your setup.
emellor@7526 9 #
emellor@7526 10
emellor@7523 11 kernel = "/boot/vmlinuz-2.6.13-15b-xen"
emellor@7523 12 ramdisk = "/boot/initrd-2.6.13-15b-xen"
stekloff@9788 13
stekloff@9788 14 # WARNING: Creating a domain with insufficient memory may cause out of
stekloff@9788 15 # memory errors. The domain needs enough memory to boot kernel
stekloff@9788 16 # and modules. Allocating less than 32MBs is not recommended.
emellor@7523 17 memory = 128
stekloff@9788 18
emellor@7523 19 name = "nbd4"
emellor@8330 20 vif = [ '' ]
emellor@7523 21 # Please change PORT
emellor@7523 22 disk = [ 'nbd:134.100.233.115 20004,hda1,w' ]
emellor@7523 23 dhcp = "dhcp"
emellor@7523 24 hostname= "nbd4"
emellor@7523 25 root = "/dev/hda1 ro"
emellor@7523 26 extra = "3"