Fiddle with ufw ordering
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
This commit is contained in:
parent
2989e82ddf
commit
bcb8a1c6c3
2 changed files with 20 additions and 0 deletions
20
src/run.sh
20
src/run.sh
|
@ -121,6 +121,10 @@ stage_end "$?";
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
###
|
||||||
|
# Pre-install tasks
|
||||||
|
###
|
||||||
|
|
||||||
while read -r preinstall_step; do
|
while read -r preinstall_step; do
|
||||||
#shellcheck disable=SC1090
|
#shellcheck disable=SC1090
|
||||||
source "steps-preinstall/${preinstall_step}";
|
source "steps-preinstall/${preinstall_step}";
|
||||||
|
@ -128,11 +132,27 @@ done < <(cat "${temp_dir}/steps-preinstall.txt");
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
###
|
||||||
|
# Install packages
|
||||||
|
###
|
||||||
|
|
||||||
apt-get install "$(cat "${temp_dir}/apt-packages.txt")";
|
apt-get install "$(cat "${temp_dir}/apt-packages.txt")";
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
###
|
||||||
|
# Post-install tasks
|
||||||
|
###
|
||||||
|
|
||||||
while read -r postinstall_step; do
|
while read -r postinstall_step; do
|
||||||
#shellcheck disable=SC1090
|
#shellcheck disable=SC1090
|
||||||
source "steps-postinstall/${postinstall_step}";
|
source "steps-postinstall/${postinstall_step}";
|
||||||
done < <(cat "${temp_dir}/steps-postinstall.txt");
|
done < <(cat "${temp_dir}/steps-postinstall.txt");
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
###
|
||||||
|
# Final steps
|
||||||
|
###
|
||||||
|
|
||||||
|
source "steps-last/15-ufw.sh";
|
||||||
|
|
Loading…
Reference in a new issue