Code refactoring

This commit is contained in:
tteckster 2023-06-21 10:43:49 -04:00 committed by GitHub
parent d8b7877775
commit 1e1a69e3f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 63 additions and 27 deletions

View file

@ -21,14 +21,16 @@ $STD apt-get install -y git
$STD apt-get install -y libyaml-dev
$STD apt-get install -y build-essential
msg_ok "Installed Dependencies"
msg_info "Installing Python3"
msg_info "Updating Python3"
$STD apt-get install -y \
python3-pip \
python3-dev \
python3-setuptools \
python3-venv
msg_ok "Installed Python3"
python3 \
python3-dev \
python3-pip \
python3-venv
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
$STD apt-get install -y python3-setuptools
msg_ok "Updated Python3"
msg_info "Creating user octoprint"
useradd -m -s /bin/bash -p $(openssl passwd -1 octoprint) octoprint