Sha256: 2cf7b0af5073c05db3ad25d554d21d107f736204e8bd887223a437f3bc6313b5
Contents?: true
Size: 770 Bytes
Versions: 16
Compression:
Stored size: 770 Bytes
Contents
#!/bin/bash # Requires # ssh.sh # bootloader.sh # https://bugs.archlinux.org/task/31250 # Since systemd reboot does not notify/close SSH client connections, veewee # never tries to reconnect to the VM post-reboot. This flaky workaround tries # to ensure that client connections have been disconnected prior to reboot. cp /usr/lib/systemd/system/systemd-user-sessions.service /etc/systemd/system sed -i 's/\(After=remote-fs.target\)/\1 network.target/' /etc/systemd/system/systemd-user-sessions.service systemctl daemon-reload rm -f /etc/systemd/system/systemd-user-sessions.service if [ -d /mnt/root ]; then # Since /mnt/root exists, we must be inside a chroot. Copy over scripts so # they're available post-reboot. cp -r /root/{*,.v*} /mnt/root fi reboot
Version data entries
16 entries across 16 versions & 1 rubygems