danb35 / deploy-freenas

Python script to automate deploying TLS certificates to FreeNAS servers
GNU General Public License v3.0
203 stars 56 forks source link

Fix script failure when restarting Web GUI #6

Closed Ajedi32 closed 6 years ago

Ajedi32 commented 6 years ago

The script currently fails with a requests.exceptions.ConnectionError error after deploying, as the final API call causes the web server to restart. This fixes the script to ignore that particular error with that particular API call.