[explorer/machine_type] Make shellcheck happy!
This commit is contained in:
parent
cf44c4a01b
commit
8b790b0a54
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ os=$("$__explorer/os")
|
||||||
vendor_string_to_machine_type() {
|
vendor_string_to_machine_type() {
|
||||||
for vendor in vmware bochs kvm qemu virtualbox bhyve; do
|
for vendor in vmware bochs kvm qemu virtualbox bhyve; do
|
||||||
if echo "${1}" | grep -q -i "${vendor}"; then
|
if echo "${1}" | grep -q -i "${vendor}"; then
|
||||||
if [ "${vendor}" = "bochs" -o "${vendor}" = "qemu" ]; then
|
if [ "${vendor}" = "bochs" ] || [ "${vendor}" = "qemu" ]; then
|
||||||
vendor="kvm"
|
vendor="kvm"
|
||||||
fi
|
fi
|
||||||
echo "virtual_by_${vendor}"
|
echo "virtual_by_${vendor}"
|
||||||
|
|
Loading…
Reference in a new issue