Commit dff4ec15 by Őry Máté

dashboard: set initial resize size to current+10G

parent b57d742b
......@@ -810,6 +810,7 @@ class VmDiskResizeForm(forms.Form):
empty_label=None, label=_('Disk')))
if self.disk:
self.fields['disk'].widget = HiddenInput()
self.fields['size'].initial += self.disk.size
def clean(self):
cleaned_data = super(VmDiskResizeForm, self).clean()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment