mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-11 07:29:29 -05:00
cli: use nodeGroups when setting default disk size for QEMU
This commit is contained in:
parent
0c20ccb477
commit
7dfac1f758
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user