summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-26 09:04:04 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-26 09:04:04 +0100
commit1960c1c259bc27c8f1f7806b40687b7e82866f01 (patch)
tree99619bf574ff6ffb313936504818740ac4a6a53b /scripts/check-qemu-install
parent986fd18e11ac19470e17ad786d5cc908339ccb43 (diff)
downloadvyos-build-1960c1c259bc27c8f1f7806b40687b7e82866f01.tar.gz
vyos-build-1960c1c259bc27c8f1f7806b40687b7e82866f01.zip
Testsuite: limit QEmu test disk size to 1G to not waste space on build host
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 5c099a3b..105a0ae8 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -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.')