else:
size = 0
- cmd = [XSEG_HOME + "/peers/user/vlmc-xseg", "%s" % SPEC, "create", "--name", "%s" % name]
+ cmd = ["vlmc-xseg", "%s" % SPEC, "create", "--name", "%s" % name]
if snap != None:
cmd.extend(["--snap", "%s" % snap])
if size != None:
cmd.extend(["--size", "%s" % size])
cmd.extend(["-mp", "%s" % MPORT])
cmd.extend(["-p", "%s" % VTOOL])
- os.environ['LD_LIBRARY_PATH'] = XSEG_HOME + "/lib:" + XSEG_HOME + "/lib/user"
try:
check_call(cmd, shell=False, env=os.environ);
def vlmc_remove(args):
name = args.name[0]
- cmd = [XSEG_HOME + "/peers/user/vlmc-xseg", "%s" % SPEC, "remove", "--name", "%s" % name]
+ cmd = ["vlmc-xseg", "%s" % SPEC, "remove", "--name", "%s" % name]
cmd.extend(["-mp", "%s" % MPORT])
cmd.extend(["-p", "%s" % VTOOL])
- os.environ['LD_LIBRARY_PATH'] = XSEG_HOME + "/lib:" + XSEG_HOME + "/lib/user"
try:
check_call(cmd, shell=False, env=os.environ);
#FIXME
try:
if rc == None:
- execfile(os.path.expanduser("/etc/defaut/archipelago"), globals())
+ execfile(os.path.expanduser("/etc/default/archipelago"), globals())
else:
execfile(rc, globals())
except: