You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-homelab/scripts/configure-vm-host.sh

10 lines
317 B
Bash

#!/bin/bash
vm_ip="${1}"
echo "Configuring new ip of: ${vm_ip}"
# update hosts file directly
rsync /Users/chatton/sync/Sync/backups/portainer_portainer_data-1-8-2022.tar.gz "root@${vm_ip}:/mnt/hdds/backups/"
rsync /Users/chatton/sync/Sync/backups/linkding_data-1-8-2022.tar.gz "root@${vm_ip}:/mnt/hdds/backups/"