mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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:
parent
67a6f3e3c9
commit
a5e591fa9b
@ -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.')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user