update qemu metadata image version and use correct CSP name in qemu state (#377)

This commit is contained in:
Malte Poll 2022-08-18 15:59:01 +02:00 committed by GitHub
parent f050a301d0
commit af99f91fec
2 changed files with 3 additions and 2 deletions

View file

@ -7,6 +7,7 @@ import (
"os"
"os/exec"
"github.com/edgelesssys/constellation/internal/cloud/cloudprovider"
"github.com/edgelesssys/constellation/internal/cloud/cloudtypes"
"github.com/edgelesssys/constellation/internal/state"
)
@ -40,7 +41,7 @@ func transformState(tfOut terraformOutput) state.ConstellationState {
conState := state.ConstellationState{
Name: "qemu",
UID: "debug",
CloudProvider: "qemu",
CloudProvider: cloudprovider.QEMU.String(),
BootstrapperHost: tfOut.ControlPlaneIPs.Value[0],
QEMUWorkers: cloudtypes.Instances{},
QEMUControlPlane: cloudtypes.Instances{},