if self.config.verbose:
- utils.header("Creating vserver: %(name)s" % locals())
+ utils.header("Creating vserver: %(name)s" % locals(), logfile = self.config.logfile)
# Create vserver
vcreate_script = self.config.vserver_scripts_path + 'vtest-nightly.sh'
command = "%(vcreate_script)s -b %(name)s -f %(fcdistro)s -m %(mailto)s -w /tmp/" % locals()
- (status, output) = utils.commands(command)
+ (status, output) = utils.commands(command, logfile = self.config.logfile)
# Start vserver
command = "vserver %(name)s start" % locals()
- (status, output) = utils.commands(command)
+ (status, output) = utils.commands(command, logfile = self.config.logfile)
return 1
"""
def call(self, name):
- (status, output) = utils.commands("vserver %(name)s stop" % locals(), False)
- (status, output) = utils.commands("vserver %(name)s delete" % locals())
+ (status, output) = utils.commands("vserver %(name)s stop" % locals(), False, logfile = self.config.logfile)
+ (status, output) = utils.commands("vserver %(name)s delete" % locals(), logfile = self.config.logfile)
return 1