Fred Hamster [Mon, 16 Dec 2024 23:41:15 +0000 (18:41 -0500)]
super nice approach to doing a bunch of machines
uses the host strider, but manages the set pretty well itself
and generates the commands it needs to run.
ps: the approach where it saves the script file to a temp file? this is how we can do functions too.
Fred Hamster [Mon, 16 Dec 2024 21:06:29 +0000 (16:06 -0500)]
moving to sanitized user
don't want to use the bare USER variable any more, since we have seen that including an email domain (e.g. blah@flork.com instead of just blah).
so these changes should use a sanitized version without the email portion.
Fred Hamster [Mon, 16 Dec 2024 18:13:31 +0000 (13:13 -0500)]
reverted to proper shebang
using the "newfangled" env method for finding bash, since we have now seen firsthand that /bin/bash is no longer reliable for all the platforms we want to work on (if it ever was)...
Fred Hamster [Sat, 14 Dec 2024 18:50:53 +0000 (13:50 -0500)]
updated to not fail if cannot enumerate adapters
macos is evading us, but we don't want the failure to enumerate to become a test failure.
it's a severe lack in the code, sure, but nothing is dependent on it yet...
Fred T. Hamster [Sat, 7 Dec 2024 00:29:05 +0000 (19:29 -0500)]
welcome most excellent host strider script
this script isolates the annoying pieces of running something remotely. it takes a script file and a list of hosts, and runs the script remotely.
there are a lot of painful issues to iron out, and this version seems to have most of them starched up now.
Fred T. Hamster [Sat, 7 Dec 2024 00:03:26 +0000 (19:03 -0500)]
cleaned up stty noise
made stty call not pollute stdout.
generalized inventory script a little, so it doesn't expect our scripts variable, but still does rely on FEISTY_MEOW_APEX
Fred T. Hamster [Fri, 6 Dec 2024 22:22:26 +0000 (17:22 -0500)]
added a pipe status combiner method
this pushes together as many pipe statuses as requested, to yield one return value.
so it makes it easier to catch and respond to failures at different places in the pipe.
sets the exit value and is guaranteed not to go over the max value of 255.
Fred T. Hamster [Fri, 6 Dec 2024 20:25:51 +0000 (15:25 -0500)]
fixed terminal titler
it was hosing up non-interactive bash sessions due to trying to echo out in command line friendly way. bahhh, bad idea.
fix now does not interfere in non-interactive sessions by checking special bash magic variables. we needed to add that,
even beyond all the original checks on terminal type and prompts, because those were all coming in indicating that it
was an interactive shell when it was not. but the magic check for that 'i' being present in the "$-" variable (yes,
that's a dollar and a dash) did the trick.
Fred T. Hamster [Thu, 5 Dec 2024 14:52:49 +0000 (09:52 -0500)]
fixed error on removing sort file too early
that file i cleaned up was actually needed across function calls. did find the place where an error could leave the file lying around, and fixed that instead.
Fred T. Hamster [Thu, 5 Dec 2024 01:22:56 +0000 (20:22 -0500)]
fixed separator method to support character choice
separator now accepts a count and a character string, so like:
$ sep 4 "arf-"
generates:
arf-arf-arf-arf-
nice!
and fixed 's' alias to use separator function instead of being a hard-coded line of pound signs.
Fred T. Hamster [Thu, 21 Nov 2024 01:59:51 +0000 (20:59 -0500)]
need better behavior in picking photo dirs
mushing this into better shape gradually. switched f76 to linux from windows once saw that i could, so now the save dir is different.
could use new save dir as a standard! it makes more sense to link directly to photos, than to have to both link to a folder and then find the photos.
Fred T. Hamster [Fri, 15 Nov 2024 20:48:56 +0000 (15:48 -0500)]
more attempts to get names right
apparently redhat deprecated x11 / xorg in favor of wayland, which has some fairly specific lacks that break some applications. but we don't have a lot of choice now apparently, with redhat at least.
Chris Koeritz [Sun, 20 Oct 2024 20:04:04 +0000 (16:04 -0400)]
updated to simplify my drive updaters
now the aliases are all created based on a list of names, rather than being individually maintained. only downside is that some drives will need renaming to their shorter form to conform with the script.