Accepting request 907542 from devel:kubic:ignition

Ignore error return code if no virtualization environment detected. [bsc#1188479]
This makes it possible to use Ignition also on bare metal (e.g. when dumping images directly to disk) without adding a ignition.platform.id parameter.

OBS-URL: https://build.opensuse.org/request/show/907542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2021-07-22 20:43:21 +00:00 committed by Git OBS Bridge
commit 6462b216ab
2 changed files with 10 additions and 1 deletions

View File

@ -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" ;;

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jul 21 14:33:48 UTC 2021 - Ignaz Forster <iforster@suse.com>
- Ignore error return code if no virtualization environment
detected. [bsc#1188479]
This makes it possible to use Ignition also on bare metal (e.g.
when dumping images directly to disk) without adding a
ignition.platform.id parameter.
-------------------------------------------------------------------
Thu Jul 8 10:47:50 UTC 2021 - Ignaz Forster <iforster@suse.com>