  ).src = `{{.URLPrefix}}/assets/images/${osImagePrefix}-install-profile.png`;
      };

      const renderError = (title, description) => {
        const template = document.getElementById("error-template");
        if (template) {
          const clone = template.content.cloneNode(true);
          clone.querySelector(".error-title").textContent = title;
          clone.querySelector(".error-description").textContent = description;
          document.getElementById("main-content").appendChild(clone);
     