aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-29 10:45:09 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-29 10:45:09 +0100
commitec6869dadc5c3dabcd441e796829dd20a738dda6 (patch)
treefb67659cdb54720124b13acad161fdf8edad9f3b /tools/examples
parent1d534660ad9487622a23d4deff31fe8131bd83fb (diff)
downloadxen-ec6869dadc5c3dabcd441e796829dd20a738dda6.tar.gz
xen-ec6869dadc5c3dabcd441e796829dd20a738dda6.tar.bz2
xen-ec6869dadc5c3dabcd441e796829dd20a738dda6.zip
pv-grub: fix example file
Apparently 64MB is too short for the domain builder. No kernel option should be passed, as they are provided by menu.lst, and would only confuse grub. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xmexample.pv-grub28
1 files changed, 1 insertions, 27 deletions
diff --git a/tools/examples/xmexample.pv-grub b/tools/examples/xmexample.pv-grub
index a856028ac2..2d647c9365 100644
--- a/tools/examples/xmexample.pv-grub
+++ b/tools/examples/xmexample.pv-grub
@@ -25,7 +25,7 @@ extra = "(hd0,0)/boot/grub/menu.lst"
# 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 = 64
+memory = 128
# A name for your domain. All domains must have different names.
name = "ExampleDomain"
@@ -119,32 +119,6 @@ disk = [ 'phy:hda1,hda1,w' ]
#vtpm = [ 'instance=1,backend=0' ]
#----------------------------------------------------------------------------
-# Set the kernel command line for the new domain.
-# You only need to define the IP parameters and hostname if the domain's
-# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
-# You can use 'extra' to set the runlevel and custom environment
-# variables used by custom rc scripts (e.g. VMID=, usr= ).
-
-# Set if you want dhcp to allocate the IP address.
-#dhcp="dhcp"
-# Set netmask.
-#netmask=
-# Set default gateway.
-#gateway=
-# Set the hostname.
-#hostname= "vm%d" % vmid
-
-# Set root device.
-root = "/dev/hda1 ro"
-
-# Root device for nfs.
-#root = "/dev/nfs"
-# The nfs server.
-#nfs_server = '192.0.2.1'
-# Root directory on the nfs server.
-#nfs_root = '/full/path/to/root/directory'
-
-#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three 'reasons'
# for a domain to stop: poweroff, reboot, and crash. For each of these you
# may specify: