forked from pool/ignition
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:
commit
6462b216ab
@ -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" ;;
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user