When attempting to parse the output of
curl -s -H "Accept: application/json" https://cloud-images.ubuntu.com/locator/releasesTable
as json, it fails as the last item in the aadata array has a trailing comma, which it shouldn't.
When attempting to parse the output of
curl -s -H "Accept: application/json" https:/ /cloud- images. ubuntu. com/locator/ releasesTable
as json, it fails as the last item in the aadata array has a trailing comma, which it shouldn't.