6 class vserver_create(Test):
8 Create a vsever given the specified name, reference,
9 mailto options. Installs the specified myplc distro.
12 def call(self, name, fcdistro, mailto):
15 if self.config.verbose:
16 utils.header("Creating vserver: %(name)s" % locals(), logfile = self.config.logfile)
18 vcreate_script = self.config.vserver_scripts_path + 'vtest-nightly.sh'
19 command = "%(vcreate_script)s -b %(name)s -f %(fcdistro)s -m %(mailto)s -w /tmp/" % locals()
20 (status, output) = utils.commands(command, logfile = self.config.logfile)
23 command = "vserver %(name)s start" % locals()
24 (status, output) = utils.commands(command, logfile = self.config.logfile)