~andreserl/+junk/cobbler

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{% extends 'master.tmpl' %}
{% block content %}
<h1>DVD Importer</h1>
<hr />
<form method="post" action="/cobbler_web/import/run">
  {% csrf_token %}
  <div class="sectionbody">
  <ul>
    <li class="editrow">
      <label for="name" class="inputlabel">Prefix</label>
      <input type="text" size="128" name="name" id="name" />
      <span class="context-tip">Example:  rhel5u3, fedora11 (do not include the arch name)</span>
    </li>
    <li class="editrow">
      <label for="arch" class="inputlabel">Arch</label>
      <select name="arch" id="arch">
        <option value="i386">i386</option>
        <option value="x86_64">x86_64</option>
        <option value="ia64">ia64</option>
        <option value="ppc">ppc</option>
        <option value="ppc64">ppc64</option>
        <option value="s390">s390</option>
        <option value="s390x">s390x</option>
        <option value="arm">arm</option>
      </select>
      <span class="context-tip">Architecture of the DVD you are importing</span>
    </li>
    <li class="editrow">
      <label for="breed" class="inputlabel">Breed</label>
      <select name="breed" id="breed">
        <option value="redhat">Red Hat based (includes Fedora, CentOS, Scientific Linux)</option>
        <option value="debian">Debian</option>
        <option value="ubuntu">Ubuntu</option>
        <option value="suse">SUSE</option>
      </select>
      <span class="context-tip">Type of OS you are importing.  If yours is not listed here (ex: SUSE), you will have to add a distro manually.  Other distro imports may be supported in the future.  Non Red Hat based distros may require additional instructions, see the <a href="http://fedorahosted.org/cobbler">Wiki</a> for details.</span>
    </li>
    <li class="editrow">
      <label for="path" class="inputlabel">Path</label>
      <input type="text" size="128" name="path" id="path" />
      <span class="context-tip">Full path to mounted DVD contents only (ex: /mnt/cdrom).  No CD ISOs!.  Content will be copied by Cobbler to /var/www/cobbler/ks_mirror automatically and then cobbler will create distro and profile objects for each ISO imported.  If you need more control about where files are sourced or end up, create new distro and profile object manually.</span>
    </li>
    <li class="editrow">
      <input class="button" type="submit" name="submit" value="Run" />
    </li>
  </ul>
</form>
{% endblock content %}