vitual_fuel: set_vm_nic() takes no parameters 91/15791/1
authorJosep Puigdemont <josep.puigdemont@enea.com>
Fri, 17 Jun 2016 06:26:53 +0000 (08:26 +0200)
committerJosep Puigdemont <josep.puigdemont@enea.com>
Fri, 17 Jun 2016 06:30:56 +0000 (08:30 +0200)
Fixes: https://jira.opnfv.org/browse/FUEL-148

Change-Id: Id5a1d710abf425e75b6ff9eaa7b372285e200702
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
deploy/environments/virtual_fuel.py

index 7dc9720..2fac98b 100644 (file)
@@ -123,7 +123,7 @@ class VirtualFuel(ExecutionEnvironment):
 
         temp_vm_file = '%s/%s' % (self.temp_dir, self.vm_name)
         exec_cmd('cp %s %s' % (self.vm_template, temp_vm_file))
-        self.set_vm_nic(temp_vm_file)
+        self.set_vm_nic()
         vm_definition_overwrite = self.dha.get_vm_definition('fuel')
         self.define_vm(self.vm_name, temp_vm_file, disk_path,
                        vm_definition_overwrite)