From a8a47da332b58d2d2782c1400d994c0f541cef6d Mon Sep 17 00:00:00 2001 From: madhavilosetty-intel Date: Mon, 6 Nov 2023 05:57:38 -0800 Subject: [PATCH] fix: boot order for IDER --- CHANGELOG.md | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/routes/amt/bootOptions.ts | 5 ++--- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca4a53410..62ea92329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ + +## [2.12.6] - 2023-11-06 +### Build +- **deps:** bump mqtt from 5.1.3 to 5.1.4 ([#1145](https://github.com/open-amt-cloud-toolkit/mps/issues/1145)) (#6a614b4) +- **deps:** bump aquasecurity/trivy-action from 0.13.0 to 0.13.1 ([#1146](https://github.com/open-amt-cloud-toolkit/mps/issues/1146)) (#e5a26ad) +- **deps:** bump [@open](https://github.com/open)-amt-cloud-toolkit/wsman-messages ([#1148](https://github.com/open-amt-cloud-toolkit/mps/issues/1148)) (#797f84e) +- **deps:** bump wagoid/commitlint-github-action from 5.4.3 to 5.4.4 ([#1152](https://github.com/open-amt-cloud-toolkit/mps/issues/1152)) (#c10eeba) +- **deps-dev:** bump [@types](https://github.com/types)/node from 20.8.9 to 20.8.10 ([#1147](https://github.com/open-amt-cloud-toolkit/mps/issues/1147)) (#51d785f) + +### Fix +- boot order for IDER (#b09e795) + ## [2.12.5] - 2023-11-01 ### Build diff --git a/package-lock.json b/package-lock.json index 76a0ade17..954c2ba06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@open-amt-cloud-toolkit/mps", - "version": "2.12.5", + "version": "2.12.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@open-amt-cloud-toolkit/mps", - "version": "2.12.5", + "version": "2.12.6", "license": "Apache-2.0", "dependencies": { "@open-amt-cloud-toolkit/wsman-messages": "^5.5.3", diff --git a/package.json b/package.json index 61037fdad..6d13f844b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@open-amt-cloud-toolkit/mps", - "version": "2.12.5", + "version": "2.12.6", "description": "Containerized MPS service for executing Intel® AMT features", "homepage": "https://github.com/open-amt-cloud-toolkit/mps", "contributors": [ diff --git a/src/routes/amt/bootOptions.ts b/src/routes/amt/bootOptions.ts index dc465cb85..2aeef60d9 100644 --- a/src/routes/amt/bootOptions.ts +++ b/src/routes/amt/bootOptions.ts @@ -45,13 +45,13 @@ export function setBootData (action: number, useSOL: boolean, r: AMT.Models.Boot r.ConfigurationDataReset = false r.FirmwareVerbosity = 0 r.ForcedProgressEvents = false - r.IDERBootDevice = action === 202 || action === 203 ? 1 : 0 // 0 = Boot on Floppy, 1 = Boot on IDER + r.IDERBootDevice = (action === 202 || action === 203) ? 1 : 0 // 0 = Boot on Floppy, 1 = Boot on IDER r.LockKeyboard = false r.LockPowerButton = false r.LockResetButton = false r.LockSleepButton = false r.ReflashBIOS = false - r.UseIDER = action > 199 && action < 300 + r.UseIDER = (action > 199 && action < 300) r.UseSOL = useSOL r.UseSafeMode = false r.UserPasswordBypass = false @@ -66,7 +66,6 @@ const enum BootSources { export function setBootSource (action: number): CIM.Types.BootConfigSetting.InstanceID { let bootSource - if (action === 202 || action === 203) bootSource = BootSources.IDER_CD_ROM if (action === 400 || action === 401) bootSource = BootSources.PXE return bootSource }