Remove unused, broken, redundant and undocumented option xm create -L.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-03-20 09:56:46 +01:00
1 parent a431b2fa06
commit d3e701ea7f
1 file changed
+1 -9
+1 -9
View File
@@ -91,10 +91,6 @@ gopts.opt('config', short='F', val='FILE',
SXP configurations can be hand-written or generated from Python configuration
scripts, using the -n (dryrun) option to print the configuration.""")
gopts.opt('load', short='L', val='FILE',
fn=set_value, default=None,
use='Domain saved state to load.')
gopts.opt('dryrun', short='n',
fn=set_true, default=0,
use="""Dry run - print the configuration but don't create the domain.
@@ -819,11 +815,7 @@ def make_domain(opts, config):
"""
try:
if opts.vals.load:
filename = os.path.abspath(opts.vals.load)
dominfo = server.xend_domain_restore(filename, config)
else:
dominfo = server.xend_domain_create(config)
dominfo = server.xend_domain_create(config)
except XendError, ex:
import signal
if vncpid:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.