14 lines
371 B
Bash
Executable File
14 lines
371 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
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
|
|
yes | ssh-copy-id -f le@keepalived.scity.us
|
|
mount -a
|
|
if [ -f /opt/copycerts.sh ]; then
|
|
/opt/copycerts.sh
|
|
elif [ -f /opt/install-certs.sh ]; then
|
|
/opt/install-certs.sh
|
|
fi
|