File: xmexample.nbd

package info (click to toggle)
xen-common 3.2.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 680 kB
  • ctags: 279
  • sloc: sh: 2,708; makefile: 288; perl: 186; python: 170; xml: 8
file content (26 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#  -*- 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"

# WARNING: Creating a domain with insufficient memory may cause out of
#          memory errors. The domain needs enough memory to boot kernel
#          and modules. Allocating less than 32MBs is not recommended.
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"