n value="' + catalog_images[os]['variants'][i] + '" selected>' + catalog_images[os]['variants'][i] + '</option>');
            }
            else {
              $('#operatingSystemVariant').append('<option value="' + catalog_images[os]['variants'][i] + '">' + catalog_images[os]['variants'][i] + '</option>');
            }
          }
        }
      }
    }

    function updateRegistrySource(){
      if ($("#selectRegistrySourceInput").val() == 'registries') {
        $("#registryOption").show()
        $(