mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 22:30:33 +08:00
fix: Set CPU model
This commit is contained in:
@@ -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%%,*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user