mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
Merge pull request #9671 from bikesheddev/fix/kata-deploy-unbound-variable
fix: kata-deploy.sh VERSION_ID unbound-variable
This commit is contained in:
commit
b8b3bcc492
@ -250,6 +250,7 @@ function install_artifacts() {
|
||||
fi
|
||||
|
||||
if grep -q "tdx" <<< "$shim"; then
|
||||
VERSION_ID=version_unset # VERSION_ID may be unset, see https://www.freedesktop.org/software/systemd/man/latest/os-release.html#Notes
|
||||
source /host/etc/os-release || source /host/usr/lib/os-release
|
||||
case ${ID} in
|
||||
ubuntu)
|
||||
|
Loading…
Reference in New Issue
Block a user