disk-mapper: make openstack image bootable (#1312)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-01 04:39:32 -05:00 committed by GitHub
parent 4e202fa483
commit d0109b833e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,11 @@ func main() {
// issuer = ... // issuer = ...
// metadataAPI = ... // metadataAPI = ...
// TODO(katexochen): Remove the following
issuer = qemu.NewIssuer(log)
metadataAPI = qemucloud.New()
_ = exportPCRs()
case cloudprovider.QEMU: case cloudprovider.QEMU:
diskPath = qemuStateDiskPath diskPath = qemuStateDiskPath
issuer = qemu.NewIssuer(log) issuer = qemu.NewIssuer(log)