You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Since I use tteck scripts in different environments I would love to have a possibility to proceed with a completely unattended install using MY personal preference config files to setup a whole system with one command
Now I have to configure many basics over and over again for every Proxmox installation. Instead I could create a custom repository with my personal config files:
docker.conf.local - contains all variables usually configured in the start() function, that differ from the default, e.g.:
# script specific configuration variables (will be referenced / used in `docker-install.sh`)
INSTALL_PORTAINER="1"
# global configuration variables (will be referenced / used in `docker.sh`
UNATTENDED="1"
DISK_SIZE="4"
CORE_COUNT="4"
RAM_SIZE="8192"
docker.lxc.local - contains custom content, that will be appendet to the /etc/pve/lxc/<ctid>.conf, e.g.
mp0: /rpool/data/shared/audio/music,mp=/music
mp1: /rpool/data/shared/config/navidrome,mp=/var/lib/navidrome
lxc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: u 1000 1000 1
lxc.idmap: g 1000 1000 1
lxc.idmap: u 1001 101001 64435
lxc.idmap: g 1001 101001 64435
The script will look for these files and use them, if present. Otherwise these options will be ignored.
I would create a personal git repository looking like this:
setup.sh - containing all wanted lxcs line per line (bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
docker.conf.local - docker config
docker.lxc.local - lxc appendances
pihole.conf.local - pihole config (no lxc file here)
paperlessngx.conf.local - paperless
...
Alternatively it could also be directory based:
setup.sh - containing all wanted lxcs line per line (bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
docker/conf.local - docker config
docker/lxc.local - lxc appendances
pihole/conf.local - pihole config (no lxc file here)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Since I use tteck scripts in different environments I would love to have a possibility to proceed with a completely unattended install using MY personal preference config files to setup a whole system with one command
Example:
I would like to install docker, so I go for:
Now I have to configure many basics over and over again for every Proxmox installation. Instead I could create a custom repository with my personal config files:
docker.conf.local
- contains all variables usually configured in thestart()
function, that differ from the default, e.g.:docker.lxc.local
- contains custom content, that will be appendet to the/etc/pve/lxc/<ctid>.conf
, e.g.The script will look for these files and use them, if present. Otherwise these options will be ignored.
I would create a personal git repository looking like this:
setup.sh
- containing all wanted lxcs line per line (bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
docker.conf.local
- docker configdocker.lxc.local
- lxc appendancespihole.conf.local
- pihole config (no lxc file here)paperlessngx.conf.local
- paperlessAlternatively it could also be directory based:
setup.sh
- containing all wanted lxcs line per line (bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)"
docker/conf.local
- docker configdocker/lxc.local
- lxc appendancespihole/conf.local
- pihole config (no lxc file here)paperlessngx/conf.local
- paperlessAll I would have to do is:
setup.sh
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions