summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Rößler2018-05-07 16:23:54 +0200
committerChristian Rößler2018-05-07 16:23:54 +0200
commit6b07882c96157d9861468c7cd504bdbac836a528 (patch)
tree53f9ac2fb381d2771af20efbb6b62e87a196610b
parent[SSPS] Two really stoooopid bugs (diff)
downloadsetup-scripts-6b07882c96157d9861468c7cd504bdbac836a528.tar.gz
setup-scripts-6b07882c96157d9861468c7cd504bdbac836a528.tar.xz
setup-scripts-6b07882c96157d9861468c7cd504bdbac836a528.zip
[SSPS] ipxe background compilation to an warlier place
-rwxr-xr-xsatellit_installer/satellit_installer8
1 files changed, 4 insertions, 4 deletions
diff --git a/satellit_installer/satellit_installer b/satellit_installer/satellit_installer
index f4f2bfd..a113605 100755
--- a/satellit_installer/satellit_installer
+++ b/satellit_installer/satellit_installer
@@ -119,6 +119,9 @@ import_gpg
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
@@ -126,7 +129,7 @@ patch_tftpd-hpa_config
copy_tftpd-hpa_service
patch_lighttpd_config
-patch_php_config
+patch_php_config # This takes a lot of time, so any background stuff before this.
write_tmate_config # here or elsewhere...
@@ -140,9 +143,6 @@ install_dnbd3-server "$DNBD3DIR"
install_taskmanager "$TASKMANDIR"
-install_ipxe "$IPXEDIR"
-compile_ipxe "$IPXEDIR" &>/tmp/ipxesuccess &
-
# $1: tar.gz-file, $2: unpacking to directory
unpack_tar_gz "$BASEDIR/static_files/slx-admin.tar.gz" "-C $WWWDIR/slx-admin"
unpack_tar_gz "$BASEDIR/static_files/openslx_tftp.tar.gz" "-C $TFTPDIR"