{% extends "base.html" %} {% import '_ui.html' as ui %} {% block title %}Image Import - PXE Server Manager{% endblock %} {# Image import: two panels (network upload folder, USB drive), then the images one line each. Submitting asks for confirmation (upload-folder sources are MOVED, same-name files are overwritten) and then disables the button with a spinner while the import runs. #} {% block extra_head %} {% endblock %} {% block content %} {{ ui.head('Image import', 'Images', "Copy WinPE deployment content into an image's Deploy folder, from the network upload share or a USB drive.") }}

From the network upload share

Files copied over SMB to \\172.16.9.1\image-upload. They are moved, not copied.

{% if upload_sources %}
Content goes into the image's Deploy folder. Out-of-box Drivers are pooled once in a shared folder and linked from each image to save disk space.
The files are moved out of the upload folder, so the source is used up. Files with the same name in the image are overwritten. Large images take several minutes.
{% else %}
{{ ui.chip('Nothing uploaded', 'off') }}

Map \\172.16.9.1\image-upload on your Windows PC and copy the Deploy folder contents there, then refresh.

{% endif %}

From a USB drive

A drive mounted under /mnt/ or /media/. Files are copied.

{% if usb_mounts %}
The drive holding the WinPE deployment content.
Content goes into the image's Deploy folder.
Files with the same name in the image are overwritten. Large images take several minutes.
{% else %}
{{ ui.chip('No USB drive', 'off') }}

No mounted USB drive was found under /mnt/ or /media/. Mount one and refresh.

{% endif %}

Images

{{ ui.chip(images | length, 'neutral') }}
{% for img in images %}
{{ img.friendly_name }} {{ img.image_type }}/Deploy {% if img.has_content %}{{ ui.chip('Present', 'ok') }}{% else %}{{ ui.chip('Empty', 'off') }}{% endif %} {% if img.has_unattend %}{{ ui.chip('Unattend', 'neutral') }}{% else %}No unattend{% endif %} {% if img.image_type in image_types %}Open{% else %}{% endif %}
{% endfor %}
{% endblock %} {% block extra_scripts %} {% endblock %}