Update change-le-server.sh

This commit is contained in:
2019-03-30 13:07:15 -05:00
parent 6b8137188a
commit 6fad740e6a

View File

@@ -2,8 +2,10 @@
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
sed -i 's/10.10.10.80/webserver.scity.us/g' /etc/fstab
sed -i 's/10.5.10.56/webserver.scity.us/g' /etc/fstab
sed -i 's/keepalived.scity.us/webserver.scity.us/g' /etc/fstab
yes | ssh-copy-id -f le@10.5.10.56
mount -a
if [ -f /opt/copycerts.sh ]; then