mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-10 16:00:19 -04:00
cli: use nodeGroups when setting default disk size for QEMU
This commit is contained in:
parent
0c20ccb477
commit
7dfac1f758
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue