Hey Nux, This is completely untested and based of reading the source code.
Within ui/scripts/ui-custom/instanceWizard.js on line ~ 424 you should find a call to the custom hidden function which determines whether or not to set display = none on the root resize box. Within the ui/scripts/instanceWizard.js you'll see that the root resize is applied if its element isn't set to display none. I'd suggest just setting var custom = false; as a quick and easy fix. https://github.com/apache/cloudstack/blob/master/ui/scripts/ui-custom/instanceWizard.js#L424-437 On 18 March 2015 at 16:25, Nux! <n...@li.nux.ro> wrote: > Hello, > > In my 4.4.1 install I can use this patch[1] to specify a custom root disk > size for an instance[2]. This is of course very handy, enabled me to get rid > of tens of templates with custom sizes. > In 4.5 this patch no longer does it's job, there is no Root Disk field > appearing during instance creation. > > Can anyone have a look? > > [1] > https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blobdiff;f=ui/scripts/instanceWizard.js;h=4a740c6685e05449290f1fe378add9a6c71f96ad;hp=646ffbf5b1922fc618bb3ad0091fe15895c24226;hb=8fec09ba481fbd3b8c2a9e4d31ef06f113b037cb;hpb=c1af92fcbbc183873d6519f0660b68acfb33bd44 > [2] http://img.nux.ro/Fw3-Selection_020.png - This is a KVM only feature for > now > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro