aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2020-05-14 07:46:07 -0500
committerBrijesh Singh <brijesh.singh@amd.com>2020-05-14 07:46:07 -0500
commit2b47fe6f961044f41a6427ea65ab2ce8da0115e9 (patch)
tree87b217893935e370fa8f022798669f77e311e007 /install.sh
parent654f67300bdf847d5b16f3a75e4b1714c36e1e35 (diff)
downloadcachepc-amdsev-2b47fe6f961044f41a6427ea65ab2ce8da0115e9.tar.gz
cachepc-amdsev-2b47fe6f961044f41a6427ea65ab2ce8da0115e9.zip
Multiple fixes
1) SEV-SNP spec says the BIT17 must be 1 in the policy 2) Source the /etc/os-release to get the distro information
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 0d30a65..216c741 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+. /etc/os-release
+
# This will install all the dependent packages for qemu and ovmf to run
if [ "$ID_LIKE" = "debian" ]; then
apt-get -y install qemu ovmf