F5 fix Guided Configuration Installation
Customers are using more and more Guided Configuration on F5 systems.
Sometimes we have the problem that GC is not working and shows a 404 not-found error or similar.
The problem is that when GC is not working properly anymore you cannot get to the GUI part to install or update GC to the actual version.
The following shows how to proceed with curl and REST-API.
Upload File
curl -i -sk -u <username> -X POST -H "Content-Type: application/octet-stream" -H "Content-Range: 0"\
--data-binary "<filename>" "https://<f5-hostname>/mgmt/shared/file-transfer/uploads/<filename>"
Install File
curl -k -u <username> -X POST -d '{"filePath": "/var/config/rest/downloads/<filename>
"}' -H 'Content-Type: application/json' 'https://<f5-hostname>/mgmt/tm/access/bundle-install-taskstasks' | jq
Check installation of file
curl -k -u <username> -d '{"filePath": "/var/config/rest/downloads/<filename>"}'\
-H 'Content-Type: application/json' 'https://<f5-hostname>/mgmt/tm/access/bundle-install-taskstasks' | jq
Links