Skip to content

Commit

Permalink
Merge pull request #51 from ruomengh/fix-plugin
Browse files Browse the repository at this point in the history
Plugin 06: not use interactive installation
  • Loading branch information
ruomengh authored Apr 15, 2024
2 parents 910fc59 + 232a49e commit 1a3ef6d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ cat > "${CURR_DIR}/../cloud-init/x-shellscript/07-install-tdx-guest-kernel.sh" <
PACKAGE_DIR=""$ARTIFACTS_GUEST"/$(basename "$CVM_TDX_GUEST_REPO")/"
pushd \$PACKAGE_DIR || exit 0
apt install ./linux-image-unsigned-*.deb ./linux-modules-*.deb \
./linux-headers-*.deb ./linux-intel-opt-headers-*.deb --allow-downgrades -y
DEBIAN_FRONTEND=noninteractive apt install ./linux-image-unsigned-*.deb \
./linux-modules-*.deb ./linux-headers-*.deb \
./linux-intel-opt-headers-*.deb --allow-downgrades -y
popd || exit 0
EOL

ok "Cloud config cloud-init/x-shellscript/07-install-tdx-guest-kernel.sh generated"
ok "Cloud config cloud-init/x-shellscript/07-install-tdx-guest-kernel.sh generated"

0 comments on commit 1a3ef6d

Please sign in to comment.