1
0
mirror of https://github.com/namibia/demo-sync.git synced 2024-11-21 19:15:10 +00:00
Go to file
2017-07-18 19:38:48 +01:00
readme.md updated the readme to reflect the permission setup option 2017-07-05 22:05:00 +01:00
setip.sh fixed the BRANCH string 2017-07-18 19:38:48 +01:00

Dynamic IP

This script will update the VDM system with your dynamic IP. To run this script, use the following command (as root):

First time use to setup permission as root:

bash <(wget -O -  https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh)

Once permission is set:

curl -s https://raw.githubusercontent.com/vdm-io/dynamic-ip/master/setip.sh | bash

This script performs the following actions:

  • Adds random Host Key.
  • Adds a cron entry to update this file on a scheduled basis.
  • Adds the server IP to VDM system.