{% extends "main.html" %}
{% load common %}
{% load url from future %}
{% block title %}Host {{ host }} {% endblock %}
{% block content_title %}Host Information{% endblock %}
{% block breadcrumbs %}{{ block.super }} › Hosts › {{ host }} {% endblock %}
{% block content %}
{{host}}
Hostname | {{ host.hostname }} |
Domain | {{ host.domain }} |
Reporting IP Address | {{ host.ipaddress }} |
Reverse DNS | {{ host.reversedns }} |
OS | {{ host.os }} |
OS Group | {{ host.os.osgroup }} |
Kernel | {{ host.kernel }} |
Architecture | {{ host.arch }} |
Tags |
{% load tagging_tags %}
{% tags_for_object host as tags %}
{% for tag in tags %}
{{ tag }}
{% endfor %}
|
Last Update | {{ host.lastreport }} |
Updates Available | {{ host.updates.count }} |
Reboot Required | {{ host.reboot_required }} |
Packages Installed | {{ host.packages.count}} |
Repos In Use | {% if host.host_repos_only %}Host Repos{% else %}Host and OS Group Repos{% endif %} |
Last 3 reports |
{% for report in reports %}
{{ report.created }}
{% endfor %}
|
{% if user.is_authenticated %}
{% if perms.is_admin %}
{% endif %}
{% endif %}
Repositories
Name | Type | Priority | Enabled | Security |
{% if hostrepos %}
{% for hostrepo in hostrepos %}
{{ hostrepo.repo.name }} |
Host |
{{ hostrepo.priority }} |
{% yes_no_img hostrepo.enabled %} |
{% yes_no_img hostrepo.repo.security %} |
{% endfor %}
{% endif %}
{% with host.os.osgroup.repos.select_related as osrepos %}
{% if osrepos and not host.host_repos_only %}
{% for osrepo in osrepos %}
{% if osrepo.arch == host.arch %}
{{ osrepo.name }} |
OS Group |
N/A |
{% yes_no_img osrepo.enabled %} |
{% yes_no_img osrepo.security %} |
{% endif %}
{% endfor %}
{% endif %}
{% endwith %}
Packages
{% for package in host.packages.select_related %}
{{ package }}
{% endfor %}
{% endblock %}