diff options
author | Daniel Hansson <github@hanssonit.se> | 2020-07-13 23:10:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 23:10:38 +0300 |
commit | dad0a55b52c5003ce58e4afa6e071cc7d336a6bb (patch) | |
tree | 0286bd1f87612a7cae06e30ffe81b5d81e0010d7 /nextcloud_install_production.sh | |
parent | 69856779ec858b072449c062bad115bb9d3db8ec (diff) |
check SYSVENDOR for kernels (#1318)
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r-- | nextcloud_install_production.sh | 17 |
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 |