Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-07-13 23:10:38 +0300
committerGitHub <noreply@github.com>2020-07-13 23:10:38 +0300
commitdad0a55b52c5003ce58e4afa6e071cc7d336a6bb (patch)
tree0286bd1f87612a7cae06e30ffe81b5d81e0010d7 /nextcloud_install_production.sh
parent69856779ec858b072449c062bad115bb9d3db8ec (diff)
check SYSVENDOR for kernels (#1318)
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r--nextcloud_install_production.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh
index ceb4e3d3..9b59b2f3 100644
--- a/nextcloud_install_production.sh
+++ b/nextcloud_install_production.sh
@@ -779,13 +779,16 @@ find /root "/home/$UNIXUSER" -type f \( -name '*.sh*' -o -name '*.html*' -o -nam
# Kernel 5.4
if ! home_sme_server
then
- # Hyper-V
- apt install -y --install-recommends \
- linux-virtual \
- linux-image-virtual \
- linux-tools-virtual \
- linux-cloud-tools-virtual
- # linux-image-extra-virtual only needed for AUFS driver with Docker
+ if [ "$SYSVENDOR" == "Microsoft Corporation" ]
+ then
+ # Hyper-V
+ apt install -y --install-recommends \
+ linux-virtual \
+ linux-image-virtual \
+ linux-tools-virtual \
+ linux-cloud-tools-virtual
+ # linux-image-extra-virtual only needed for AUFS driver with Docker
+ fi
fi
# Add aliases