From: Frank Brehm Date: Wed, 18 Oct 2023 14:08:33 +0000 (+0200) Subject: Fixing postinstall-scripts/init-puppet X-Git-Tag: 1.8.0^2~33 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0fb1fb4d7cf01269a3057f0444a5725972b9bd23;p=pixelpark%2Fcreate-terraform.git Fixing postinstall-scripts/init-puppet --- diff --git a/postinstall-scripts/conf-resolver b/postinstall-scripts/conf-resolver index d02b02a..3fe7bf1 100755 --- a/postinstall-scripts/conf-resolver +++ b/postinstall-scripts/conf-resolver @@ -593,6 +593,11 @@ main() { get_options "$@" check_for_root + + echo + info "Trying to ${CYAN}configure /etc/resolv.conf${NORMAL} ..." + echo + do_backup generate do_nm diff --git a/postinstall-scripts/create-motd b/postinstall-scripts/create-motd index ed4e86f..5334854 100755 --- a/postinstall-scripts/create-motd +++ b/postinstall-scripts/create-motd @@ -584,6 +584,11 @@ generate() { main() { get_options "$@" + + echo + info "Trying to ${CYAN}generate /etc/motd${NORMAL} ..." + echo + generate } diff --git a/postinstall-scripts/init-puppet b/postinstall-scripts/init-puppet index 883d9e2..c60f2e4 100755 --- a/postinstall-scripts/init-puppet +++ b/postinstall-scripts/init-puppet @@ -122,7 +122,7 @@ get_options() { long_options+="${STD_LONG_OPTIONS}" set +e - tmp=$( getopt -o "${short_options}" --long "${long_options}" -n "${BASENAME}" -- "$@" ) + tmp=$( getopt -o "${short_options}" --long "${long_options}" -n "${BASE_NAME}" -- "$@" ) if [[ $? != 0 ]] ; then echo "" >&2 usage >&2 diff --git a/postinstall-scripts/update-all-packages b/postinstall-scripts/update-all-packages index 6ee5479..1b643d8 100755 --- a/postinstall-scripts/update-all-packages +++ b/postinstall-scripts/update-all-packages @@ -443,6 +443,11 @@ main() { get_options "$@" check_for_root + + echo + info "Trying to ${CYAN}updating all packages${NORMAL} ..." + echo + do_distupgrade }