Skip to content

Commit a5dbf55

Browse files
committed
Boot settings: remove oneTimeBootEnabled check
The commit [1] added oneTimeBootEnabled as condition to display he Boot settings menu. It is not reasonable as the option is disabled by default [2] and users can configure for a selected boot option to be applied once or permanent. This commit removes the check so that the menu is displayed when the boot source option is supported. Tested: 1. Log in to BMC Web and go to the server-power-operations page 2. The boot settings options are shown. [1]: 918526f [2]: https://github.com/openbmc/openbmc/blob/f8b0a12a3781e1f771630cad1244016b1ed6f8cd/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/boot_type.override.yml#L19 Change-Id: I1efd2ae0c201744076e3fb00229c81847e940687 Signed-off-by: Huy Le Anh <[email protected]>
1 parent 85b2d31 commit a5dbf55

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@
5555
</b-col>
5656
</b-row>
5757
<b-row>
58-
<b-col
59-
v-if="hasBootSourceOptions && oneTimeBootEnabled"
60-
sm="8"
61-
md="6"
62-
xl="4"
63-
>
58+
<b-col v-if="hasBootSourceOptions" sm="8" md="6" xl="4">
6459
<page-section
6560
:section-title="$t('pageServerPowerOperations.serverBootSettings')"
6661
>

0 commit comments

Comments
 (0)