Skip to content

Commit

Permalink
feat(xo-web/VM/Advanced): add link to doc on secure boot (#6146)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeauchamp authored Mar 28, 2022
1 parent 5f1333b commit 5de5a80
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- [Install patches] Disable patch installation when `High Availability` is enabled (PR [#6145](https://github.com/vatesfr/xen-orchestra/pull/6145))
- [Delta Backup/Restore] Ability to ignore some VDIs (PR [#6143](https://github.com/vatesfr/xen-orchestra/pull/6143))
- [Rolling Pool Update] Don't update if some of the hosts are not running
- [VM form] Add link to documentation on secure boot in the Advanced tab (PR [#6146](https://github.com/vatesfr/xen-orchestra/pull/6146))

### Bug fixes

Expand Down
1 change: 1 addition & 0 deletions packages/xo-web/src/common/intl/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,7 @@ const messages = {
newVmNoCloudDatasource: 'NoCloud datasource',
newVmNetworkConfigDoc: 'Network config documentation',
templateHasBiosStrings: 'The template already contains the BIOS strings',
secureBootLinkToDocumentationMessage: 'Click for more information about Guest UEFI Secure Boot.',
vmBootFirmwareIsUefi: 'The boot firmware is UEFI',

// ----- Self -----
Expand Down
9 changes: 9 additions & 0 deletions packages/xo-web/src/xo-app/vm/tab-advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,15 @@ export default class TabAdvanced extends Component {
<th>{_('secureBoot')}</th>
<td>
<Toggle value={vm.secureBoot} onChange={value => editVm(vm, { secureBoot: value })} />
<a
className='text-muted'
href='https://xcp-ng.org/docs/guides.html#guest-uefi-secure-boot'
rel='noopener noreferrer'
style={{ display: 'block' }}
target='_blank'
>
<Icon icon='info' /> {_('secureBootLinkToDocumentationMessage')}
</a>
</td>
</tr>
)}
Expand Down

0 comments on commit 5de5a80

Please sign in to comment.