(edit - added *.patch so that it could attach to the forum thread
remove .patch from the filename and then it should work as below
or just add the .patch to the script run command)
Add the attached script into /var/airwave/custom
Then run as:
# cd /var/airwave/custom
# ./download_amp_image -v 7.7.3
It will prompt for Aruba support site credentials and then download the upgrade tarball into /root
(if you just run as ./download_amp_image, it'll just add another prompt entry for desired image if you don't want to use the -v flag)
I'll see what else I can do to get it (or something similar) added to the code source with an easier tab completing bash alias.
If you have any issues, the script may require dos2unix (you'll have to yum install the package) and permission change
# yum install -y dos2unix
# dos2unix download_amp_image
# chmod 777 dos2unix