From f74ae9e362ffa91f3a4bd8d1b0a5b1ff584f0940 Mon Sep 17 00:00:00 2001 From: Fred Hamster Date: Mon, 7 Apr 2025 12:31:51 -0400 Subject: [PATCH] added apt-file as requirement for prep also added a readme with some useful automation commands. --- scripts/core/prep_feisty_host.sh | 13 ++++++++++--- .../customize/fred/scripts/automation/readme.txt | 11 +++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 scripts/customize/fred/scripts/automation/readme.txt diff --git a/scripts/core/prep_feisty_host.sh b/scripts/core/prep_feisty_host.sh index 366c2242..c48386a6 100644 --- a/scripts/core/prep_feisty_host.sh +++ b/scripts/core/prep_feisty_host.sh @@ -192,10 +192,17 @@ PAX=(noop) # first, make sure the OS itself is prepared for us. +#hmmm: ha, a better representation with less glop would be associative arrays for each chunk of stuff to do. +# + have one overall array of items which are the names of other arrays to pull in. +# + then each assoc array gets filled in by our various sections below using simple array syntax. +# + would be something like: +# crucial_os_packages["debianesque"]="bind9-dnsutils git gitk gparted mariadb-client openssh-server" +# + tasty! + PHASE_MESSAGE="installing crucial OS packages" if [ "$opsystem_here" == "debianesque" ]; then - PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server ) + PAX=(apt-file bind9-dnsutils git gitk gparted mariadb-client openssh-server ) elif [ "$opsystem_here" == "redhatty" ]; then PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server ) #untested: bind9-dnsutils mariadb-client @@ -203,8 +210,8 @@ elif [ "$opsystem_here" == "macos" ]; then PAX=(bind9-dnsutils git gitk mariadb-client openssh-server ) #untested: bind9-dnsutils mariadb-client elif [ "$opsystem_here" == "windoze" ]; then - PAX=(bind9-dnsutils git gitk gparted mariadb-client openssh-server ) -#untested: bind9-dnsutils mariadb-client + PAX=(apt-file bind9-dnsutils git gitk gparted mariadb-client openssh-server ) +#untested: apt-file bind9-dnsutils mariadb-client fi install_system_package "${PAX[@]}" diff --git a/scripts/customize/fred/scripts/automation/readme.txt b/scripts/customize/fred/scripts/automation/readme.txt new file mode 100644 index 00000000..2e9e14a4 --- /dev/null +++ b/scripts/customize/fred/scripts/automation/readme.txt @@ -0,0 +1,11 @@ + + +useful commands we have done... + +puff out gruntose archives... +$ puffer_gruntose + +find syncthing conflicts... +$ host_strider $FEISTY_MEOW_SCRIPTS/customize/fred/scripts/automation/locate_syncthing_conflicts.sh $GRUNTOSE_DOMAIN $GRUNTOSE_HOSTLIST &> ~/syncthing_conflict_output_$(date_stringer).log + +==> add that one from obsidian with the funky df. need to check in the file too. -- 2.34.1