mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2025-07-06 19:09:04 +02:00
CoreOS: refuse --coreos if we're not under CoreOS
This commit is contained in:
parent
fe3d5c50e8
commit
1f2543cfeb
@ -527,6 +527,10 @@ fi
|
||||
|
||||
# coreos mode
|
||||
if [ "$opt_coreos" = 1 ]; then
|
||||
if ! which coreos-install || ! which toolbox; then
|
||||
_warn "CoreOS mode asked, but we're not under CoreOS!"
|
||||
exit 255
|
||||
fi
|
||||
_warn "CoreOS mode, starting an ephemeral toolbox to launch the script"
|
||||
load_msr
|
||||
load_cpuid
|
||||
|
Loading…
x
Reference in New Issue
Block a user