CreateImageWizard: don't allow arbitrary mountpoints under /boot
This commit is contained in:
parent
29704a0725
commit
042af03052
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ const MountPoint = ({ ...props }) => {
|
|||
return <SelectOption key={index} value={pfx} />;
|
||||
})}
|
||||
</Select>
|
||||
{prefix !== '/' && (
|
||||
{prefix !== '/' && !prefix.startsWith('/boot') && (
|
||||
<TextInput
|
||||
className="pf-u-w-50"
|
||||
type="text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue