bug fixed that add extra space in QEMU command when there is no network to be attached
This commit is contained in:
parent
ec40d6b1e0
commit
ef0f13534a
1 changed files with 4 additions and 1 deletions
|
@ -153,7 +153,10 @@ class VM:
|
|||
)
|
||||
)
|
||||
|
||||
return command.split(" ")
|
||||
if command:
|
||||
command = command.split(' ')
|
||||
|
||||
return command
|
||||
|
||||
def delete_network_dev(self):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue