Skip to content

Commit

Permalink
cmdlib: bump cache qcow2 size
Browse files Browse the repository at this point in the history
Now that we can build more and more artifacts in OSBuild it increases
the size we need for the cache qcow that gets attached to the supermin
VM. Let's bump to 40G here.

Observing a RHCOS and FCOS run here they both use right around 30G today
because FCOS builds for more platforms, but RHCOS has a bigger payload,
so they even out. In the they will be even bigger when we become able to
build the last few artifacts (vmware, virtualbox, etc) using OSBuild.
  • Loading branch information
dustymabe committed Feb 17, 2025
1 parent d160242 commit 22aca49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ runcompose_tree() {

# Run with cache disk.
runvm_with_cache() {
local cache_size=${RUNVM_CACHE_SIZE:-30G}
local cache_size=${RUNVM_CACHE_SIZE:-40G}
# "cache2" has an explicit label so we can find it in qemu easily
if [ ! -f "${workdir}"/cache/cache2.qcow2 ]; then
qemu-img create -f qcow2 cache2.qcow2.tmp "$cache_size"
Expand Down

0 comments on commit 22aca49

Please sign in to comment.