X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=43ca158ae4142b77d4b1e2c4f16aa0d6d0a4ae42;hb=9bd685f6da7ad7b9b00eee67a7f767466c42229c;hp=728161d1f811cc4d2e1120bcf91e45ae942b32e2;hpb=2cff2dd2b8040e6cbd721932ae09142881d7e0a6;p=distro-setup diff --git a/distro-end b/distro-end index 728161d..43ca158 100755 --- a/distro-end +++ b/distro-end @@ -116,8 +116,12 @@ if isdeb; then $(debian-codename-compat) \ stable" p update - pi docker-ce - sgo docker + # docker eats up a fair amount of cpu when doing nothing, so don't enable it unless + # we really need it. + pi-nostart docker-ce + case $HOSTNAME in + li|lj) sgo docker ;; + esac # other distros unknown fi ### end docker install #### @@ -482,7 +486,7 @@ EOF ############### !!!!!!!!!!!!!!!!! ############### manual steps: - # only following 2 people atm, so not bothering to figure out backups + # only following a few people atm, so not bothering to figure out backups # when mastodon has not documented it at all. # # fsf@status.fsf.org @@ -538,7 +542,7 @@ EOF # alo would be nice if erc supported # https://wiki.znc.in/self-message # https://wiki.znc.in/Query_buffers \ - # + # s useradd --create-home -d /var/lib/znc --system --shell /sbin/nologin --comment "Account to run ZNC daemon" --user-group znc || [[ $? == 9 ]] # 9 if it exists already chmod 700 /var/lib/znc s chown -R znc:znc /var/lib/znc @@ -575,7 +579,11 @@ case $distro in s add-apt-repository -y ppa:ansible/ansible p update fi - pi ansible + s pip install --upgrade pip + # newer 2.7 versions have a bug that incorrectly detects trisquel version. fixed once 2.8 arrives + # in 2019 + pip install --user ansible=2.7.4 + #pi ansible ;; esac @@ -803,10 +811,11 @@ fi ####### begin misc packages ########### +# sakura config is owned by ian reset-sakura -sudo -u traci -i reset-sakura reset-konsole sudo -u traci -i reset-konsole +# traci xscreensaver we don't want to reset reset-xscreensaver @@ -891,6 +900,44 @@ case $distro in # others unknown esac +case $(debian-codename) in + # needed for debootstrap scripts for fai since fai requires debian + flidas) + s dd of=/etc/apt/preferences.d/flidas-xenial </dev/null <