1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

migration implicit option: live (if wm is running), offline (if vm is off)

This commit is contained in:
Ing. Jan KRCMAR 2017-09-15 10:30:45 +02:00
parent 53f5518706
commit ad3b4d817b

View file

@ -918,7 +918,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">{% trans "Live migration" %}</label> <label class="col-sm-3 control-label">{% trans "Live migration" %}</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="checkbox" name="live_migrate" value="true" id="vm_live_migrate" checked> <input type="checkbox" name="live_migrate" value="true" id="vm_live_migrate" {% ifequal status 1 %}checked{% endifequal %}>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
@ -936,7 +936,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">{% trans "Offline migration" %}</label> <label class="col-sm-3 control-label">{% trans "Offline migration" %}</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="checkbox" name="offline_migrate" value="true" id="offline_migrate"> <input type="checkbox" name="offline_migrate" value="true" id="offline_migrate" {% ifequal status 5 %}checked{% endifequal %}>
</div> </div>
</div> </div>
{% if computes_count != 1 %} {% if computes_count != 1 %}