36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
|
|
#!/bin/sh
|
||
|
|
set -ouex pipefail
|
||
|
|
|
||
|
|
## Regular post-install (adapted from ublue-os/ucore's post-install-ucore-minimal.sh
|
||
|
|
## for a plain Fedora CoreOS base with no extra packages installed)
|
||
|
|
##
|
||
|
|
## Implementation: each step lives in its own function/file under
|
||
|
|
## post-install/lib/<step>.sh; this script only sources them and runs the
|
||
|
|
## steps in order.
|
||
|
|
|
||
|
|
SCRIPT_DIR="$(dirname -- "$0")"
|
||
|
|
LIB_DIR="$SCRIPT_DIR/post-install/lib"
|
||
|
|
|
||
|
|
# shellcheck source=post-install/lib/mask_migration_motd_units.sh
|
||
|
|
. "$LIB_DIR/mask_migration_motd_units.sh"
|
||
|
|
# shellcheck source=post-install/lib/enable_docker_socket.sh
|
||
|
|
. "$LIB_DIR/enable_docker_socket.sh"
|
||
|
|
# shellcheck source=post-install/lib/disable_zincati.sh
|
||
|
|
. "$LIB_DIR/disable_zincati.sh"
|
||
|
|
# shellcheck source=post-install/lib/configure_automatic_updates.sh
|
||
|
|
. "$LIB_DIR/configure_automatic_updates.sh"
|
||
|
|
# shellcheck source=post-install/lib/set_default_timezone.sh
|
||
|
|
. "$LIB_DIR/set_default_timezone.sh"
|
||
|
|
# shellcheck source=post-install/lib/set_rosenvold_branding.sh
|
||
|
|
. "$LIB_DIR/set_rosenvold_branding.sh"
|
||
|
|
# shellcheck source=post-install/lib/install_welcome_motd.sh
|
||
|
|
. "$LIB_DIR/install_welcome_motd.sh"
|
||
|
|
|
||
|
|
mask_migration_motd_units
|
||
|
|
enable_docker_socket
|
||
|
|
disable_zincati
|
||
|
|
configure_automatic_updates
|
||
|
|
set_default_timezone
|
||
|
|
set_rosenvold_branding
|
||
|
|
install_welcome_motd
|