aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample.nbd
diff options
context:
space:
mode:
Diffstat (limited to 'tools/examples/xmexample.nbd')
-rw-r--r--tools/examples/xmexample.nbd23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/examples/xmexample.nbd b/tools/examples/xmexample.nbd
new file mode 100644
index 0000000000..274be6eb06
--- /dev/null
+++ b/tools/examples/xmexample.nbd
@@ -0,0 +1,23 @@
+# -*- 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"
+nics=1
+# Please change MAC
+vif = [ 'mac=aa:cc:10:10:00:a0, bridge=xenbr0' ]
+# Please change PORT
+disk = [ 'nbd:134.100.233.115 20004,hda1,w' ]
+dhcp = "dhcp"
+hostname= "nbd4"
+root = "/dev/hda1 ro"
+extra = "3"