search for: xm_var

Displaying 6 results from an estimated 6 matches for "xm_var".

Did you mean: xm_vars
2010 Nov 05
3
Unable to create (and keep) guest
...tr(value).lower() if value in (''t'', ''tr'', ''tru'', ''true''): return True return False global var_check_with_default def var_check_with_default(default, var, val): if val: return val return default xm_vars.var(''install'', use=''Install Debian, default: false'', check=check_bool) xm_vars.var("install-method", use=''Installation method to use "cdrom" or "network" (default: network)'', check=lambda va...
2008 Dec 20
1
pygrub and xm-debian.cfg, other notes on lenny test
...xm-th2.cfg install=true install-installer=http://people.debian.org/~joeyh/d-i/images/daily/ When I try to boot the domU: # xm create -c xm-debian.cfg it complains: Error: Bootloader isn't executable I found that I had to edit xm-debian.cfg and insert the full bootloader path: if not xm_vars.env.get('install'): bootloader="/usr/lib/xen-3.2-1/bin/pygrub" else: import os.path print "Install Mirror: %s" % xm_vars.env['install-mirror'] Apart from this one issue, the process went smoothly. The only other thing I chose to change was the disk...
2005 Sep 08
4
Booting FreeBSD diskless in DomU
...[FreeBSD VM vmid] ip -- Primary IP address for domain. [this domain''s IP + vmid] nfsserv -- NFS server IP address. [169.254.1.0] nfsroot -- Path to nfs root filesystem. [/netboot/freebsd] """ % config_file # Define script variables here. # xm_vars is defined automatically, use xm_vars.var() to define a variable. def vmid_check(var, val): val = int(val) if val <= 0: raise ValueError return val xm_vars.var(''vmid'', use="Virtual machine id. Integer greater than 0.",...
2008 Nov 13
1
Error while creating Guest Domain - Please help
...ine. For example: # # xm create vmid=1 # xm create vmid=2 # xm create vmid=3 # # The vmid is purely a script variable, and has no effect on the the domain # id assigned to the new domain. #============================================================================ # Define script variables here. # xm_vars is defined automatically, use xm_vars.var() to define a variable. # This function checks that ''vmid'' has been given a valid value. # It is called automatically by ''xm create''. def vmid_check(var, val):     val = int(val)     if val <= 0:         raise ValueEr...
2008 Nov 07
1
Unable to get Networking on HVM Domain
...arch_libdir = ''lib64'' else: arch_libdir = ''lib'' def vmid_check(var, val): val = int(val) if val <= 0: raise ValueError return val # Define the ''vmid'' variable so that ''xm create'' knows about it. xm_vars.var(''vmid'', use="Virtual machine id. Integer greater than 0.", check=vmid_check) # Check the defined variables have valid values.. xm_vars.check() builder=''hvm'' kernel = "/usr/lib/xen/boot/hvmloader" memory = 256 shadow_memory = 8 name = &q...
2005 Oct 11
8
More on domU not starting
I get the following warning when running xend start, and a similar warning sometimes when doing xm commands: /usr/lib/python/xen/xend/XendNode.py:26: RuntimeWarning: Python C API version mismatch for module xen.lowlevel.xc: This Python has API version 1012, module xen.lowlevel.xc has version 1011. import xen.lowlevel.xc /usr/lib/python/xen/xend/xenstore/xstransact.py:10: RuntimeWarning: