wiki/docs/proxmox/LXC-Debian.md
Sthope 0ca0a2221f
All checks were successful
continuous-integration/drone/push Build is passing
first commit
2022-04-17 16:54:01 +02:00

34 lines
926 B
Markdown

Open Proxmox Terminal and send:
only Debian:
```
clear;bash -c "$(wget -qLO - https://git.sthope.dev/sthope/proxmox_debian_lxc/raw/branch/main/create_container.sh)"
```
with Docker:
```
clear;bash -c "$(wget -qLO - https://github.com/Sthopeless/proxmox_with_docker/raw/main/create_container.sh)"
```
with Docker & Portainer:
```
clear;bash -c "$(wget -qLO - https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/create_container.sh)"
```
Create new user, replace USER with your username and PWD with your password and send:
```
bash -c "$(wget -qLO - https://bit.ly/3KKMgEx)" createuser USER PWD
```
*Sudo must be installed if you want to use sudo commands with new user, send as root:
```
apt-get update;apt-get upgrade -y; apt-get install -y sudo
```
Disable autologin on the LXC terminal send, should be disabled after reboot:
```
rm /etc/systemd/system/container-getty@1.service.d/override.conf
```