]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Fixing postinstall-scripts/init-puppet
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 18 Oct 2023 14:08:33 +0000 (16:08 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 18 Oct 2023 14:08:33 +0000 (16:08 +0200)
postinstall-scripts/conf-resolver
postinstall-scripts/create-motd
postinstall-scripts/init-puppet
postinstall-scripts/update-all-packages

index d02b02a929ac270d8e341f295a19657abff78bf7..3fe7bf1ae7830aeaf5f500e027a941a33329beb9 100755 (executable)
@@ -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
index ed4e86f592c20efe55e6232d7c673c064a179eeb..53348549b633c2c3fb7df54f7a5bfa9c6a3d2214 100755 (executable)
@@ -584,6 +584,11 @@ generate() {
 main() {
 
     get_options "$@"
+
+    echo
+    info "Trying to ${CYAN}generate /etc/motd${NORMAL} ..."
+    echo
+
     generate
 
 }
index 883d9e294b44b6529540314b3866bccc336ee3cd..c60f2e480567c3dc3e8953e23fe13995b70b6848 100755 (executable)
@@ -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
index 6ee5479964c4bdf770f97476605c5e1a8aaee36a..1b643d8014827f6ef1604b6e3c626e07f656d089 100755 (executable)
@@ -443,6 +443,11 @@ main() {
 
     get_options "$@"
     check_for_root
+
+    echo
+    info "Trying to ${CYAN}updating all packages${NORMAL} ..."
+    echo
+
     do_distupgrade
 
 }