mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-25 14:56:18 -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
|
// set a lower default for QEMU's state disk
|
||||||
if provider == cloudprovider.QEMU {
|
if provider == cloudprovider.QEMU {
|
||||||
conf.StateDiskSizeGB = 10
|
for groupName, group := range conf.NodeGroups {
|
||||||
|
group.StateDiskSizeGB = 10
|
||||||
|
conf.NodeGroups[groupName] = group
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if provider == cloudprovider.Unknown {
|
if provider == cloudprovider.Unknown {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user