1 {% extends
"menu_base.html" %}
4 {% block title %}{% trans
"Reinstall" %} Virtual Machine{% endblock %}
7 <link rel=
"stylesheet" type=
"text/css" href=
"{{MEDIA_URL}}/css/delete.css"/>
12 {% if cluster_admin %}
13 <a class=
"breadcrumb" href=
"{% url cluster-detail cluster.slug %}#virtual_machines">{{cluster.hostname|abbreviate_fqdn}}
</a>
15 <span class=
"breadcrumb">{{cluster.hostname|abbreviate_fqdn}}
</span>
17 :
<a class=
"breadcrumb" href=
"{% url instance-detail cluster.slug vm.hostname %}">{{ vm.hostname }}
</a>
18 : {% trans
"Reinstall" %}
23 Are you sure you want to reinstall this virtual machine? This action
24 can not be undone. The contents of the virtual machine will be lost.
25 <br />While the reinstall is in progress, the detail page will indicate that a
"Instance Shutdown" job is running.
26 <br />Once the reinstall is complete, you can click
"Start" to boot up the virtual machine.
27 <ul><li>{{vm.hostname}}
</li></ul>
28 <br />Warning: This may not work if you choose an operating system other than
29 the one this virtual machine was initally installed with. If a
30 reinstallation is unsuccessful, reinstall with the virtual machine's
31 original operating system.
34 <label for=
"os">{% trans
"Operating System" %}
</label>
35 <select name=
"os" id=
"os">
36 {% for osgroup in oschoices %}
37 <optgroup label=
"{{ osgroup.0 }}">
38 {% for oschoice in osgroup
.1 %}
39 {% if oschoice
.0 == current_os %}
40 <option value=
"{{ oschoice.0 }}" selected=
"selected">
41 {{ oschoice
.1 }}
</option>
43 <option value=
"{{ oschoice.0 }}">{{ oschoice
.1 }}
</option>
50 <input id=
"reinstall" type=
"submit" value=
"{% trans "Reinstall
" %}" />