.
This commit is contained in:
@@ -206,14 +206,14 @@ VIRT_GUEST="$(echo "$VIRT_TYPE"|egrep 'hyperv|kvm' )"
|
|||||||
export KVM_GUEST
|
export KVM_GUEST
|
||||||
KVM_GUEST="$(echo "$VIRT_TYPE"|grep 'kvm')"
|
KVM_GUEST="$(echo "$VIRT_TYPE"|grep 'kvm')"
|
||||||
|
|
||||||
if [ $KVM_GUEST -eq 1 ]; then
|
if [[ $KVM_GUEST -eq 1 ]]; then
|
||||||
apt -y install qemu-guest-agent
|
apt -y install qemu-guest-agent
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PHYSICAL_HOST
|
export PHYSICAL_HOST
|
||||||
PHYSICAL_HOST="$(dmidecode -t System|grep -c Dell)"
|
PHYSICAL_HOST="$(dmidecode -t System|grep -c Dell)"
|
||||||
|
|
||||||
if [ $PHYSICAL_HOST -gt 0 ]; then
|
if [[ $PHYSICAL_HOST -gt 0 ]]; then
|
||||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install \
|
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install \
|
||||||
i7z \
|
i7z \
|
||||||
thermald \
|
thermald \
|
||||||
@@ -365,7 +365,9 @@ global-installPackages
|
|||||||
global-postPackageConfiguration
|
global-postPackageConfiguration
|
||||||
secharden-ssh
|
secharden-ssh
|
||||||
|
|
||||||
|
#######################################
|
||||||
#Coming soon...
|
#Coming soon...
|
||||||
|
#######################################
|
||||||
|
|
||||||
#secharden-auto-upgrade
|
#secharden-auto-upgrade
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user