From 4abad2d4a20dc7a0deaacae520e47509f0ea512a Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 18 Nov 2021 20:42:00 +0100 Subject: [PATCH] increase default machine vm size to 100GiB Context: containers/podman/issues/11712 Signed-off-by: Valentin Rothberg --- pkg/config/config_local_test.go | 2 +- pkg/config/default.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/config_local_test.go b/pkg/config/config_local_test.go index a49445ca1..458007c2b 100644 --- a/pkg/config/config_local_test.go +++ b/pkg/config/config_local_test.go @@ -389,7 +389,7 @@ var _ = Describe("Config Local", func() { // Given config, err := NewConfig("") gomega.Expect(err).To(gomega.BeNil()) - gomega.Expect(config.Machine.DiskSize).To(gomega.Equal(uint64(10))) + gomega.Expect(config.Machine.DiskSize).To(gomega.Equal(uint64(100))) // When config2, err := NewConfig("testdata/containers_default.conf") // Then diff --git a/pkg/config/default.go b/pkg/config/default.go index 515c46e8b..af4a6d9d5 100644 --- a/pkg/config/default.go +++ b/pkg/config/default.go @@ -225,7 +225,7 @@ func defaultSecretConfig() SecretConfig { func defaultMachineConfig() MachineConfig { return MachineConfig{ CPUs: 1, - DiskSize: 10, + DiskSize: 100, Image: "testing", Memory: 2048, }