# becuase I keep a minimal debian install on it for
# recovery needs and for doing pxe-kexec.
boot_mib=10000
- root2_mib=200000
- boot2_mib=2000
+ root2_mib=1000000
+ boot2_mib=5000
elif (( boot_spa_ce > 30000 )); then
boot_mib=$(( 5000 + (boot_space - 30000) / 2 ))
root2_mib=100
else
# Small vms don't have room for /boot recovery. With 3 kernels
# installed, i'm using 132M on t8, so this seems like plenty of
- # room. note: rhel 8 recomments 1g for /boot.
- boot_mib=500
+ # room. note: rhel 8 recomments 1g for /boot. u20.04 with 3 kernels =
+ # 308 mb, so things have grown significantly
+ boot_mib=1000
root2_mib=100
boot2_mib=100
fi
# appropriate things into a new service.
rm -f /home/iank/.config/systemd/user/default.target.wants/ssh-agent.service
-mkdir -p /home/iank/.local/share/systemd/user
-cat >/home/iank/.local/share/systemd/user/sshaiank.service <<'EOF'
-[Unit]
-Description=OpenSSH User Agent
-Documentation=man:ssh-agent(1)
-[Service]
-ExecStart=/usr/lib/openssh/agent-launch start
-ExecStopPost=/usr/lib/openssh/agent-launch stop
-[Install]
-WantedBy=default.target
-EOF
-# enable it
-# systemctl --user is not available at fai time, so create the link ourselves
-dir=/home/iank/.config/systemd/user/default.target.wants
-mkdir -p $dir
-ln -sf /home/iank/.local/share/systemd/user/sshaiank.service $dir
+rm -f /home/iank/.local/share/systemd/user/sshaiank.service \
+ /home/iank/.config/systemd/user/default.target.wants/sshaiank.service
#### end .ssh setup ###