mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 00:48:23 +08:00
Compare commits
2 Commits
b967a471b5
...
7f400b6b59
Author | SHA1 | Date | |
---|---|---|---|
|
7f400b6b59 | ||
|
9cb88a99e6 |
@ -42,6 +42,8 @@ RUN set -eu && extra="" && \
|
|||||||
qemu-system-x86 \
|
qemu-system-x86 \
|
||||||
"$extra" && \
|
"$extra" && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
|
mkdir -p /etc/qemu && \
|
||||||
|
echo "allow br0" > /etc/qemu/bridge.conf && \
|
||||||
unlink /etc/nginx/sites-enabled/default && \
|
unlink /etc/nginx/sites-enabled/default && \
|
||||||
sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \
|
sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \
|
||||||
echo "$VERSION_ARG" > /run/version && \
|
echo "$VERSION_ARG" > /run/version && \
|
||||||
|
@ -72,6 +72,8 @@ CPU="${CPU// Processor/}"
|
|||||||
CPU="${CPU// Quad core/}"
|
CPU="${CPU// Quad core/}"
|
||||||
CPU="${CPU// Core TM/ Core}"
|
CPU="${CPU// Core TM/ Core}"
|
||||||
CPU="${CPU// with Radeon Graphics/}"
|
CPU="${CPU// with Radeon Graphics/}"
|
||||||
|
CPU="${CPU// with Radeon Vega Graphics/}"
|
||||||
|
|
||||||
[ -z "${CPU// /}" ] && CPU="Unknown"
|
[ -z "${CPU// /}" ] && CPU="Unknown"
|
||||||
|
|
||||||
# Check system
|
# Check system
|
||||||
|
Loading…
x
Reference in New Issue
Block a user