forked from pool/ignition
Ignore error return code if no virtualization environment detected.
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=76
This commit is contained in:
parent
60460da4e0
commit
76587cceda
@ -24,7 +24,7 @@ EOF
|
||||
fi
|
||||
|
||||
if [ -z "${PLATFORM_ID}" ]; then
|
||||
platform="$(systemd-detect-virt)"
|
||||
platform="$(systemd-detect-virt || true)"
|
||||
case "${platform}" in
|
||||
*vmware*) platform="vmware" ;;
|
||||
*oracle*) platform="virtualbox" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user