-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement setup configuration management (#104)
* improve setup scripts configuration put all variables in a config file clean up setup scripts in the guest at the end * allow downgrade for attestation packages
- Loading branch information
1 parent
ad6c359
commit 4f4ff28
Showing
8 changed files
with
85 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
################################################################ | ||
# GENERAL # | ||
################################################################ | ||
|
||
################################################################ | ||
# Enable the setup of attestation components | ||
# Set to 1 to enable | ||
# By default, the attestation components are not installed | ||
################################################################ | ||
TDX_SETUP_ATTESTATION=0 | ||
|
||
################################################################ | ||
# HOST # | ||
################################################################ | ||
|
||
|
||
################################################################ | ||
# GUEST # | ||
################################################################ | ||
|
||
################################################################ | ||
# Enable the intel optimized kernel for the guest | ||
# Set to 1 to enable | ||
# By default, the generic kernel is used | ||
################################################################ | ||
TDX_SETUP_INTEL_KERNEL=0 | ||
|
||
################################################################ | ||
# Image configuration | ||
# The base image is an Ubuntu 24.04 cloud image | ||
# You can use a different image setting these two environment | ||
# variables before running the setup script | ||
################################################################ | ||
OFFICIAL_UBUNTU_IMAGE="https://cloud-images.ubuntu.com/releases/noble/release/" | ||
CLOUD_IMG="ubuntu-24.04-server-cloudimg-amd64.img" | ||
|
||
################################################################ | ||
# Configure the guest credentials | ||
################################################################ | ||
GUEST_USER="tdx" | ||
GUEST_PASSWORD="123456" | ||
GUEST_HOSTNAME="tdx-guest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters