mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 09:27:45 +08:00
fix: Set CPU model
This commit is contained in:
parent
539f5de6d9
commit
1b3d760f5f
@ -17,7 +17,7 @@ fi
|
|||||||
if [ -n "$HOST_CPU" ]; then
|
if [ -n "$HOST_CPU" ]; then
|
||||||
HOST_CPU="${HOST_CPU%%,*},,"
|
HOST_CPU="${HOST_CPU%%,*},,"
|
||||||
else
|
else
|
||||||
if [ "$CPU_MODEL" == "host" ]; then
|
if [ "$CPU_MODEL" == "host" ] || [ "$CPU_MODEL" == "qemu"* ]; then
|
||||||
HOST_CPU="QEMU"
|
HOST_CPU="QEMU"
|
||||||
else
|
else
|
||||||
HOST_CPU="${CPU_MODEL%%,*}"
|
HOST_CPU="${CPU_MODEL%%,*}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user