eck()
      });
    }

    function addCatalogImage(){
      image = $("#operatingSystem").val();
      imageVersion = $("#operatingSystemVersion").val();
      imageVariant = $("#operatingSystemVariant").val();
      imageType = $("#operatingSystemType").val();
      console.log("Info: downloading image " + image);
      $.post("{{ url_for('api') }}/images/add_image?id="+serverId+"&project="+project, { image: image, image_version: imageVersion, image_variant: imageVariant, image_type: imageType },  functio