feat: add incus user option

This commit is contained in:
2024-11-09 11:47:57 +00:00
parent d931235fb3
commit 3ef0c93c8f
4 changed files with 31 additions and 6 deletions
+12 -3
View File
@@ -172,9 +172,18 @@ const IncusFormFields = ({ form }: MiscFormFieldProps) => {
/>
</FormField>
{type === "lxc" && (
<FormField label="Shell">
<InputField form={form} name="metadata.shell" placeholder="bash" />
</FormField>
<>
<FormField label="User ID">
<InputField
form={form}
keyboardType="number-pad"
name="metadata.user"
/>
</FormField>
<FormField label="Shell">
<InputField form={form} name="metadata.shell" placeholder="bash" />
</FormField>
</>
)}
</>
);