Automating "Change Multiple Sites' IP Addresses" using SSH/bash script, possible?

sharmaine001

Well-Known Member
Jun 23, 2006
143
0
166
I am using "Change Multiple Sites' IP Addresses" to change the IP address assignment of all the sites under ResellerA including ResellerA's website

If there are roughly 100 accounts, this appears to be a tedious task. Is there a way to automate this using SSH and perhaps writing a bash script? If there is, what is the "script" that should be called by the bash script so it will automate the process?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
I am using "Change Multiple Sites' IP Addresses" to change the IP address assignment of all the sites under ResellerA including ResellerA's website

If there are roughly 100 accounts, this appears to be a tedious task. Is there a way to automate this using SSH and perhaps writing a bash script? If there is, what is the "script" that should be called by the bash script so it will automate the process?
The SwapIP script is probably the script you want to call. Here's some documentation on this script:

SwapIp < AllDocumentation/AutomationIntegration < TWiki