Wizard: Add Kernel name input
This adds a kernel name input.
This commit is contained in:
parent
7129cf866e
commit
c121e5caba
7 changed files with 169 additions and 6 deletions
|
|
@ -127,6 +127,7 @@ export type wizardState = {
|
|||
disabled: string[];
|
||||
};
|
||||
kernel: {
|
||||
name: string;
|
||||
append: string;
|
||||
};
|
||||
locale: Locale;
|
||||
|
|
@ -204,6 +205,7 @@ export const initialState: wizardState = {
|
|||
disabled: [],
|
||||
},
|
||||
kernel: {
|
||||
name: '',
|
||||
append: '',
|
||||
},
|
||||
locale: {
|
||||
|
|
@ -800,6 +802,9 @@ export const wizardSlice = createSlice({
|
|||
changeDisabledServices: (state, action: PayloadAction<string[]>) => {
|
||||
state.services.disabled = action.payload;
|
||||
},
|
||||
changeKernelName: (state, action: PayloadAction<string>) => {
|
||||
state.kernel.name = action.payload;
|
||||
},
|
||||
changeKernelAppend: (state, action: PayloadAction<string>) => {
|
||||
state.kernel.append = action.payload;
|
||||
},
|
||||
|
|
@ -922,6 +927,7 @@ export const {
|
|||
changeEnabledServices,
|
||||
changeMaskedServices,
|
||||
changeDisabledServices,
|
||||
changeKernelName,
|
||||
changeKernelAppend,
|
||||
changeTimezone,
|
||||
addNtpServer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue