diff options
Diffstat (limited to 'satellit_installer/static_files/system-base/etc')
7 files changed, 79 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system-base/etc/apt/apt.conf.d/99update-config b/satellit_installer/static_files/system-base/etc/apt/apt.conf.d/99update-config new file mode 100644 index 0000000..0f66e29 --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/apt/apt.conf.d/99update-config @@ -0,0 +1,27 @@ +// Updates aktivieren +APT::Periodic::Update-Package-Lists "1"; +APT::Periodic::Unattended-Upgrade "1"; + +// Wenn ein Paket nicht sauber installiert wird, Installation erneut +// versuchen, und alte Paketkonfiguration beibehalten. +Unattended-Upgrade::AutoFixInterruptedDpkg "true"; + +// Macht den Updatevorgang langsamer, aber robuster +Unattended-Upgrade::MinimalSteps "true"; + +// Alte Kernelversionen automatisch deinstallieren +Unattended-Upgrade::Remove-Unused-Kernel-Packages "true"; + +// Wenn nach einem Update Pakete nicht mehr benötigt werden, diese automatisch deinstallieren +//Unattended-Upgrade::Remove-New-Unused-Dependencies "true"; +Unattended-Upgrade::Remove-Unused-Dependencies "true"; + +// Automatisch rebooten, wenn ein Paket dies nach dem Update erfordert? +Unattended-Upgrade::Automatic-Reboot "false"; + +// ... Reboot auch durchführen, wenn jemand auf dem Server eingeloggt ist? (SSH, Terminal) +Unattended-Upgrade::Automatic-Reboot-WithUsers "false"; + +// Uhrzeit, zu der bei erforderlichem Reboot neugestartet werden soll. +// Der Wert "now" führt den Reboot unverzüglich durch. +Unattended-Upgrade::Automatic-Reboot-Time "02:00"; diff --git a/satellit_installer/static_files/system-base/etc/issue b/satellit_installer/static_files/system-base/etc/issue new file mode 100644 index 0000000..a097cee --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/issue @@ -0,0 +1,7 @@ +------------------------------------------------- + bwLehrpool Satellitenserver (Debian \S{VERSION_ID}) +------------------------------------------------- + +Bitte loggen Sie sich als Nutzer "bwlp" ein, um die +Einrichtung des Systems abzuschließen. + diff --git a/satellit_installer/static_files/system-base/etc/issue.disabled b/satellit_installer/static_files/system-base/etc/issue.disabled new file mode 100644 index 0000000..078ef2a --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/issue.disabled @@ -0,0 +1,9 @@ +------------------------------------------------- + bwLehrpool Satellitenserver (Debian \S{VERSION_ID}) +------------------------------------------------- + +Web interface for configuration: + +\e{lightred}http(s)://\4/\e{reset} +\e{lightred}http(s)://\n.\O/\e{reset} + diff --git a/satellit_installer/static_files/system-base/etc/mysql/conf.d/99-openslx.cnf b/satellit_installer/static_files/system-base/etc/mysql/conf.d/99-openslx.cnf new file mode 100644 index 0000000..f4ff6f7 --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/mysql/conf.d/99-openslx.cnf @@ -0,0 +1,7 @@ +[mysqld] +character-set-server = utf8mb4 +collation-server = utf8mb4_unicode_520_ci +sql_mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION + +[client] +default-character-set = utf8mb4 diff --git a/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service b/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service new file mode 100644 index 0000000..f19b51a --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/systemd/system/firstboot.service @@ -0,0 +1,14 @@ +[Unit] +Description=Initialization of bwLehrpool on first boot +ConditionFileIsExecutable=/opt/openslx/firstboot.sh +After=network.target mysql.service mariadb.service +Before=ssh.service lighttpd.service dmsd.service taskmanager.service + +[Service] +Type=oneshot +ExecStart=/opt/openslx/firstboot.sh +RemainAfterExit=yes +RefuseManualStart=yes + +[Install] +WantedBy=multi-user.target diff --git a/satellit_installer/static_files/system-base/etc/tmux.conf b/satellit_installer/static_files/system-base/etc/tmux.conf new file mode 100644 index 0000000..537f52c --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/tmux.conf @@ -0,0 +1,5 @@ +set -g tmate-server-host "tmate.ruf.uni-freiburg.de" +set -g tmate-server-port 2222 +set -g tmate-server-rsa-fingerprint SHA256:pyT0YTJ+2c6AHD4QtUC1GEA9SFFYba74x2T1VZJ6zpc +set -g tmate-server-ed25519-fingerprint SHA256:ZuTqO8YZrdgzjskHhfNd65es4HEx5rKBRZj/e/iBLrg +set -g tmate-identity "" diff --git a/satellit_installer/static_files/system-base/etc/vim/vimrc.local b/satellit_installer/static_files/system-base/etc/vim/vimrc.local new file mode 100644 index 0000000..4bfb95d --- /dev/null +++ b/satellit_installer/static_files/system-base/etc/vim/vimrc.local @@ -0,0 +1,10 @@ +runtime! defaults.vim +let g:skip_defaults_vim = 1 + +syntax on +set showmatch +set smartcase +set incsearch +set mouse= +set autoindent +set smartindent |