Update change-le-server.sh

This commit is contained in:
2019-01-30 10:25:10 -06:00
parent 73d8ae7b70
commit 80483b5670

View File

@@ -1,6 +1,9 @@
#!/usr/bin/env bash
sed -i 's/10.10.10.80/10.5.10.56/g' /etc/fstab
mount -l -t fuse.sshfs | awk -F " " '{print "umount " $3}' | bash
sed -i 's/10.10.10.80/keepalived.scity.us/g' /etc/fstab
sed -i 's/10.5.10.56/keepalived.scity.us/g' /etc/fstab
ssh-copy-id -f le@10.5.10.56
mount -a
if [ -f /opt/copycerts.sh ]; then