summaryrefslogtreecommitdiff
path: root/scripts
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:16 +0100
commita5e591fa9b66b229f7296de177a570c7b7126be4 (patch)
tree66ac9434d36d675c4684b54098aeaec399e3b677 /scripts
parent67a6f3e3c9fe830bd5f9878ab39786073c94b13d (diff)
downloadvyos-build-a5e591fa9b66b229f7296de177a570c7b7126be4.tar.gz
vyos-build-a5e591fa9b66b229f7296de177a570c7b7126be4.zip
Testsuite: limit QEmu test disk size to 1G to not waste space on build host
(cherry picked from commit 1960c1c259bc27c8f1f7806b40687b7e82866f01)
Diffstat (limited to 'scripts')
-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.')