Fixed option to apt. Installed a few extra files.
- Fixed --no-recommends to the correct --no-install-recommends - Added wget, curl, and git to utilities to install.
This commit is contained in:
@@ -14,10 +14,10 @@ ANSIUSERDIR=/home/$ANSIUSER
|
|||||||
TMP_PORT=46347
|
TMP_PORT=46347
|
||||||
|
|
||||||
# Update to current
|
# Update to current
|
||||||
apt update && apt upgrade -y --no-recommends
|
apt update && apt upgrade -y
|
||||||
|
|
||||||
# Install requirements
|
# Install requirements
|
||||||
apt install -y --no-recommends openssh-client openssh-server sudo
|
apt install -y --no-install-recommends openssh-client openssh-server sudo git curl wget
|
||||||
|
|
||||||
# Create a user for Ansible
|
# Create a user for Ansible
|
||||||
useradd -m -s /bin/bash -c "Ansible User" $ANSIUSER
|
useradd -m -s /bin/bash -c "Ansible User" $ANSIUSER
|
||||||
|
|||||||
Reference in New Issue
Block a user