diff options
author | Simon Rettberg | 2020-12-17 15:08:14 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-17 15:08:14 +0100 |
commit | b5c3eb9e01b09367935f558a57633b68a65a1a21 (patch) | |
tree | b6c322f3089192124779b9d7a29c8365eb39533f /satellit_installer/satellit_installer | |
parent | [SSPS] slx-cert: Put hostname in SAN too, chromium requires this (diff) | |
download | setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.gz setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.tar.xz setup-scripts-b5c3eb9e01b09367935f558a57633b68a65a1a21.zip |
[SSPS] Refactor static_files: Submodules with tree
Add submodules (aka directories) to static_files, named according to
what component they are for. Add function "install_files" to copy the
contents of one of those modules to the root directory.
This should make the resulting setup more obvious and require less
manual copying of files everywhere.
Diffstat (limited to 'satellit_installer/satellit_installer')
-rwxr-xr-x | satellit_installer/satellit_installer | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer index c113680..d56039b 100755 --- a/satellit_installer/satellit_installer +++ b/satellit_installer/satellit_installer @@ -105,16 +105,13 @@ check_users # Meet interesting users with uid>=1000 and kill them. # user 65534/sync will be ignored. add_users_groups # Adding necessary users and groups -sudo_config # Adding sudo config for user taskmanager - install_ipxe "$IPXEDIR" compile_ipxe "$IPXEDIR" &>/tmp/ipxesuccess & add_mysql_dbs_users # mysql stuff; adding databases and users patch_mysql_config # adding utf8 entries to /etc/mysql/my.cnf -patch_tftpd-hpa_config -copy_tftpd-hpa_service +write_tftpd_config patch_lighttpd_config patch_php_config # This takes a lot of time, so any background stuff before this. @@ -125,8 +122,6 @@ patch_ldapsearch patch_java -write_apt_config - install_bwSuite_server "$DMSDDIR" install_dnbd3-server "$DNBD3DIR" @@ -144,16 +139,7 @@ install_ldadp "$LDADPDIR" || perror "Could not install ldadp" # NFS server configuration: config_nfs -# Samba configuration: User and share -# This is out-commented, as not needed recently -# setup_samba - -# Copying a script to configure a static IP -install_config_static_ip - -# Set a cronjob to cron.daily which cleans bwlp-* stuff from /tmp if older than 2 days -# and images from /srv/openslx/nfs/temp -install_tmpdelete +install_system_scripts # Sometimes a low device timeout has lead to problems. So we set a rule to increase the # block device timeout (sd*) from 30 to 180 using an udev rule. @@ -164,14 +150,10 @@ patch_bashrc # vim config patch_vim -setup_logging - # This part drops a script and anchors it's execution within root's .profile: drop_firstrun_script -install_slxlog install_timesync # cheap HTTP based timesync on boot -install_finalize # Script for cleaning some stuff after installation # Remove translation from menu etc., enable required modules patch_slxadmin_dir |