mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-09 01:47:32 +08:00
Compare commits
2 Commits
c3e3b98211
...
a73aba9ed5
Author | SHA1 | Date | |
---|---|---|---|
|
a73aba9ed5 | ||
|
92cffc4b6d |
@ -369,7 +369,7 @@ createDevice () {
|
|||||||
local result=" -drive file=$DISK_FILE,id=$DISK_ID,format=$DISK_FMT,cache=$DISK_CACHE,aio=$DISK_IO,discard=$DISK_DISCARD,detect-zeroes=on"
|
local result=" -drive file=$DISK_FILE,id=$DISK_ID,format=$DISK_FMT,cache=$DISK_CACHE,aio=$DISK_IO,discard=$DISK_DISCARD,detect-zeroes=on"
|
||||||
|
|
||||||
case "${DISK_TYPE,,}" in
|
case "${DISK_TYPE,,}" in
|
||||||
"none" ) ;;
|
"none" ) ;;
|
||||||
"auto" )
|
"auto" )
|
||||||
echo "$result"
|
echo "$result"
|
||||||
;;
|
;;
|
||||||
|
@ -63,7 +63,6 @@ if [ -z "${CPU// /}" ] && grep -qi "model:" <<< "$CPI"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CPU="${CPU// CPU/}"
|
CPU="${CPU// CPU/}"
|
||||||
CPU="${CPU// 6 Core/}"
|
|
||||||
CPU="${CPU// 8 Core/}"
|
CPU="${CPU// 8 Core/}"
|
||||||
CPU="${CPU// 16 Core/}"
|
CPU="${CPU// 16 Core/}"
|
||||||
CPU="${CPU// 32 Core/}"
|
CPU="${CPU// 32 Core/}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user