Testsuite: limit QEmu test disk size to 1G to not waste space on build host

(cherry picked from commit 1960c1c259bc27c8f1f7806b40687b7e82866f01)
This commit is contained in:
Christian Poessinger 2021-12-26 09:04:04 +01:00
parent 67a6f3e3c9
commit a5e591fa9b

View File

@ -235,7 +235,7 @@ diskname_raid = None
def gen_disk(name):
if not os.path.isfile(name):
log.info(f'Creating Disk image {name}')
c = subprocess.check_output(['qemu-img', 'create', name, '2G'])
c = subprocess.check_output(['qemu-img', 'create', name, '1G'])
log.debug(c.decode())
else:
log.info(f'Diskimage "{name}" already exists, using the existing one.')