{% extends "layout.html" %} {% block title %}{{ entry.name }} - Catalog - pixie{% endblock %} {% block subnav %} {% endblock %} {% block content %} {% if warn_update %} {% endif %} {% if warn_delete_blob %} {% endif %} {% if warn_delete %} {% endif %}

{% if entry.bindable %} {% else %} {% endif %} {{ entry.name }}

{% if entry.bindable %} Disk image {% else %} Netboot bundle {% endif %}
{% if entry.description %}

{{ entry.description }}

{% else %}

No description recorded. {% if not entry.bindable %} Netboot bundles are usually the sibling of a disk-image entry; see below for the pairing. {% endif %}

{% endif %}
Format
{{ entry.format }} {% if entry.arch %}{{ entry.arch }}{% endif %}
Source
{{ entry.src }}
{% if entry.netboot_src %}
Netboot sibling URL
{{ entry.netboot_src }}
{% endif %}
Fetch state
{% if fetch_state.state == 'fetching' %} fetching {% elif fetch_state.state == 'error' %} error
{{ fetch_state.error }}
{% elif entry.content_sha256 %} fetched {% if entry.fetched_at %}at {{ entry.fetched_at | fmt_ts }}{% endif %} {% else %} not fetched {% endif %}
{% if entry.content_sha256 %}
Content sha
{{ entry.content_sha256 }}
{% endif %} {% if entry.size_bytes %}
Size
{{ entry.size_bytes }} bytes
{% endif %}
Added at
{{ entry.added_at | fmt_ts }}
{# NBD serving state, disk images only #} {% if entry.bindable %}

NBD serving

{% if export is none %}

Not currently exported. An NBD export is spawned automatically when a machine is bound to boot_mode=nbdboot pointing at this entry.

{% else %}
Status
{% if export.status == 'running' %} running {% elif export.status == 'error' %} error
{{ export.error }}
{% else %} {{ export.status }} {% endif %}
NBD port
{{ export.nbd_port or '-' }}
Export name
{{ export.name }}
{% endif %}
{% endif %} {# Relation: this entry -> its netboot sibling (disk images) #} {% if entry.bindable and entry.netboot_src %}

Netboot bundle sibling

{% if netboot_sibling is none %}

No catalog entry matches {{ entry.netboot_src }}. Import the sibling bundle to enable nbdboot for this disk image.

{% else %}

Nbdboot for {{ entry.name }} chains into this bundle's kernel + initrd:

{% endif %}
{% endif %} {# Reverse relation: netboot bundles show every disk image pointing at them #} {% if not entry.bindable and disk_image_users %}

Disk images using this bundle

Every disk image that names {{ entry.src }} as its netboot_src boots with this bundle's kernel + initrd.

{% endif %} {% if not entry.bindable and not disk_image_users %}

No disk-image entry names this bundle as its netboot_src yet.

{% endif %} {% endblock %}