ions in modal
        $("#operatingSystem").empty();
        //Loop through each operating system item
        for (i = 0; i < data.length; i++) {
          // Split the string by semicolon. Ex: "almalinux:8:amd64:cloud"
          image = data[i].split(':')
          //Check that operating system is not already in catalog_images object
          if (!(image[0] in catalog_images)){
            catalog_images[image[0]] = { "versions": [ image[1] ], "variants": [image[3]] }
            $('#operatingSystem').ap