diff --git a/cli/internal/cmd/configgenerate.go b/cli/internal/cmd/configgenerate.go index d982a760b..02fd0fb4d 100644 --- a/cli/internal/cmd/configgenerate.go +++ b/cli/internal/cmd/configgenerate.go @@ -108,7 +108,10 @@ func createConfigWithAttestationVariant(provider cloudprovider.Provider, rawProv // set a lower default for QEMU's state disk if provider == cloudprovider.QEMU { - conf.StateDiskSizeGB = 10 + for groupName, group := range conf.NodeGroups { + group.StateDiskSizeGB = 10 + conf.NodeGroups[groupName] = group + } } if provider == cloudprovider.Unknown {