diff --git a/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/ramdiskSchema.js b/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/ramdiskSchema.js index 513de03397..ffe048455c 100644 --- a/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/ramdiskSchema.js +++ b/src/fireedge/src/client/components/Forms/VmTemplate/CreateForm/Steps/ExtraConfiguration/booting/ramdiskSchema.js @@ -107,7 +107,8 @@ export const RAMDISK_DS = { ), value: (_, form) => { if ( - form?.getValues(`extra.${RAMDISK_PATH_ENABLED_NAME}`) && + (form?.getValues(`extra.${RAMDISK_PATH_ENABLED_NAME}`) || + !form?.getValues(`extra.${KERNEL_PATH_ENABLED_NAME}`)) && form?.setValue ) { form?.setValue(`extra.${RAMDISK_DS_NAME}`, undefined)