else:
# child process
try:
- f = "/etc/vservers/%s/spaces/net" % self.name
- # Always start vserver with a network namespace.
- subprocess.call(["/bin/touch", f], shell=False)
subprocess.call("/usr/sbin/vserver %s start" % self.name,
shell=True)
- #subprocess.call(["/bin/rm", f], shell=False)
# we get here due to an exception in the top-level child process
except Exception, ex:
self.log(traceback.format_exc())