Skip to content

Commit

Permalink
changed: "Floppy" can no longer be specified for bootsource
Browse files Browse the repository at this point in the history
  • Loading branch information
kmok8oji committed Aug 29, 2024
1 parent ca1e09b commit 9350fed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
It can no longer be specified for the following modules.
- `irmc_connectvm`, `irmc_getvm`, `irmc_setvm`
- The `connect_fd`, `connect_cd` and `connect_hd` commands are no longer supported in the `irmc_scci` module.
- `"Floppy"` can no longer be specified for parameter `bootsource` in the `irmc_setnextboot` module.
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,7 @@ Default return values
|:----------|:---------|:--------|:--------|:----------- |
| bootmode | No | | Legacy<br/> UEFI<br/> | The mode for the next boot.<br/> If bootsource is 'None', it is ignored. |
| bootoverride | No | Once | Once<br/> Continuous<br/> | Boot override type.<br/> If bootsource is 'None', it is ignored. |
| bootsource | No | BiosSetup | None<br/> Pxe<br/> Floppy<br/> Cd<br/> Hdd<br/> BiosSetup<br/> | The source for the next boot. |
| bootsource | No | BiosSetup | None<br/> Pxe<br/> Cd<br/> Hdd<br/> BiosSetup<br/> | The source for the next boot. |
| irmc_password | Yes | | | Password for iRMC user for basic authentication. |
| irmc_url | Yes | | | IP address of the iRMC to be requested for data. |
| irmc_username | Yes | | | iRMC user for basic authentication. |
Expand Down
4 changes: 2 additions & 2 deletions library/irmc_setnextboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
description: The source for the next boot.
required: false
default: BiosSetup
choices: ['None', 'Pxe', 'Floppy', 'Cd', 'Hdd', 'BiosSetup']
choices: ['None', 'Pxe', 'Cd', 'Hdd', 'BiosSetup']
bootoverride:
description: Boot override type. If bootsource is 'None', it is ignored.
required: false
Expand Down Expand Up @@ -153,7 +153,7 @@ def main() -> None:
irmc_password=dict(required=True, type='str', no_log=True),
validate_certs=dict(required=False, type='bool', default=True),
bootsource=dict(required=False, type='str', default='BiosSetup',
choices=['None', 'Pxe', 'Floppy', 'Cd', 'Hdd', 'BiosSetup']),
choices=['None', 'Pxe', 'Cd', 'Hdd', 'BiosSetup']),
bootoverride=dict(required=False, type='str', default='Once', choices=['Once', 'Continuous']),
bootmode=dict(required=False, type='str', choices=['UEFI', 'Legacy']),
)
Expand Down

0 comments on commit 9350fed

Please sign in to comment.