[SOLVED] UI - disable disk resizing


#1

Hi everyone !

Is there a way to disable disk resizing on vm creation ? I don’t want to allow end user to grow up the OS disk size.

Thanks,
Samvine


#2

So, I found !

Just customize sunstone views and disable disk_resize.


(Daniel Ruiz Molina) #4

Hello,

I have modified both files:

  • /etc/oned/sunstone-views/cloud.yaml --> tab: provision-tab: create_vm: disk_resize: false
  • /etc/oned/sunstone-views/user.yaml --> tab: vms-tab: actions: VM.disk_resize: false

But user can modify hard disk size before instance creation… so I continue with my problem.

Could you help me?

Thanks.