mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Make Ubuntu 18 defautl to python 3
This commit is contained in:
@@ -1049,6 +1049,12 @@ EOF
|
||||
ADDUSER=useradd
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade
|
||||
|
||||
if [ $OSVER != "xenial" ]; then
|
||||
|
||||
# Switch to Python 3 as default is this is not xenial
|
||||
update-alternatives --install /usr/bin/python python /usr/bin/python3.6 10
|
||||
|
||||
fi
|
||||
# Add the pre-requisites for installing docker-ce
|
||||
apt-get -y install ca-certificates curl software-properties-common apt-transport-https openssl jq >> $SETUPLOG 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user