mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 16:30:11 -05:00
Clarify Azure Secure Boot / VMGS settings when uploading images (#488)
This commit is contained in:
parent
d3150a80ac
commit
ac5ad7c378
@ -196,17 +196,28 @@ upload/upload_gcp.sh
|
|||||||
<details>
|
<details>
|
||||||
<summary>Azure</summary>
|
<summary>Azure</summary>
|
||||||
|
|
||||||
|
Note:
|
||||||
|
|
||||||
|
> For testing purposes, it is a lot simpler to disable Secure Boot for the uploaded image!
|
||||||
|
> Disabling Secure Boot allows you to skip the VMGS creation steps above.
|
||||||
|
|
||||||
- Install `az` and `azcopy` (see [here](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli))
|
- Install `az` and `azcopy` (see [here](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli))
|
||||||
- Login to Azure (see [here](https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli))
|
- Login to Azure (see [here](https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli))
|
||||||
- [Prepare virtual machine guest state (VMGS) with customized NVRAM or use existing VMGS blob](#azure-secure-boot)
|
- Optional (if Secure Boot should be enabled) [Prepare virtual machine guest state (VMGS) with customized NVRAM or use existing VMGS blob](#azure-secure-boot)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# set these variables
|
# set these variables
|
||||||
export AZURE_GALLERY_NAME= # e.g. "Constellation"
|
export AZURE_GALLERY_NAME= # e.g. "Constellation"
|
||||||
export AZURE_IMAGE_DEFINITION= # e.g. "constellation"
|
export AZURE_IMAGE_DEFINITION= # e.g. "constellation"
|
||||||
export AZURE_IMAGE_VERSION= # e.g. "1.0.0"
|
export AZURE_IMAGE_VERSION= # e.g. "1.0.0"
|
||||||
export AZURE_VMGS_PATH= # e.g. "path/to/ConfidentialVM.vmgs"
|
# Set this variable to a path if you want to use Secure Boot.
|
||||||
export AZURE_SECURITY_TYPE=ConfidentialVM # or TrustedLaunch
|
# Otherwise, set it to export AZURE_VMGS_PATH=
|
||||||
|
export AZURE_VMGS_PATH= # e.g. nothing OR "path/to/ConfidentialVM.vmgs"
|
||||||
|
# AZURE_SECURITY_TYPE can be one of
|
||||||
|
# - "ConfidentialVMSupported" (ConfidentialVM with secure boot disabled),
|
||||||
|
# - "ConfidentialVM" (ConfidentialVM with Secure Boot) or
|
||||||
|
# - TrustedLaunch" (Trusted Launch with or without Secure Boot)
|
||||||
|
export AZURE_SECURITY_TYPE=ConfidentialVMSupported
|
||||||
|
|
||||||
export AZURE_RESOURCE_GROUP_NAME=constellation-images
|
export AZURE_RESOURCE_GROUP_NAME=constellation-images
|
||||||
export AZURE_REGION=northeurope
|
export AZURE_REGION=northeurope
|
||||||
|
Loading…
x
Reference in New Issue
Block a user