change disk option to disks to add many disks
This commit is contained in:
@@ -191,9 +191,9 @@ class VMHelper:
|
||||
args += " -smp " + str(config['smp'])
|
||||
if ('memory' in config):
|
||||
args += " -m " + str(config['memory'])
|
||||
if ('disk' in config):
|
||||
disk = config['disk']
|
||||
if ('file' in disk):
|
||||
if ('disks' in config):
|
||||
for disk in config['disks']:
|
||||
if ('file' in disk):
|
||||
args += " -drive file=" + disk['file']
|
||||
if ('cache' in disk):
|
||||
args += ",cache=" + disk['cache']
|
||||
|
||||
Reference in New Issue
Block a user