X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=61d8f8d002b56d3924c8547dade334ce76b99f59;hb=d67edcdca8795a4bca116aa532d02dda246a6f53;hp=84ba7c4ac3c3f6ee68027842e254dbc2766c5cc0;hpb=08b99aa91f2bebb589df97db84e777de9fd28c99;p=distro-setup diff --git a/distro-begin b/distro-begin index 84ba7c4..61d8f8d 100755 --- a/distro-begin +++ b/distro-begin @@ -13,10 +13,17 @@ # See the License for the specific language governing permissions and # limitations under the License. -# for setting up a new machine +#### for setting up a new machine # usage: $0 [-r] [HOSTNAME] # HOSTNAME changes the machine's hostname +# Update target_down alerts in +# /a/bin/ds/filesystem/etc/prometheus/rules/iank.yml +# +# Update hostnames in /b/ds/check-remote-mailqs + +### end new machine setup + # tips: # run any sudo command first so your pass is cached # set the scrollback to unlimited in case something goes wrong @@ -52,7 +59,7 @@ interactive=true # set this to false to force set -x if ! $interactive; then set -x fi -source /a/bin/errhandle/err +source /a/bin/bash-bear-trap/bash-bear mkdir -p ~/.local err-cleanup() { @@ -474,6 +481,7 @@ if isarch; then fi #### update all packages +# shellcheck disable=SC2119 # obvious pup @@ -701,8 +709,7 @@ if has_monitor; then ###### install X - # no recommends due to this bug: https://trisquel.info/en/issues/26525 - pi --no-install-recommends i3 + pi i3 ##### install xinput case $(distro-name) in