Setting tag tests-5.3-2
[tests.git] / qaapi / qa / tests / vserver_create.py
index 623af97..2920c51 100644 (file)
@@ -11,13 +11,16 @@ class vserver_create(Test):
 
     def call(self, name, fcdistro, mailto):
        
+
+       if self.config.verbose:
+           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