commit | dddb1497a5fecd7bb8b51b6ce47534fea2af7414 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Mon Feb 19 16:27:27 2018 -0600 |
committer | Gunnar Mills <gmills@us.ibm.com> | Fri Feb 23 11:40:29 2018 -0600 |
tree | ff1d679a4aafd7941a2c1b4c88148d6a7ce7ae42 | |
parent | 81a49deaf6ee327f7748e366707d8884576b1cc5 [diff] |
Fix the "Upload firmware" button The "Upload firmware" button was not calling the uploadImage() function in api-utils.js. The uploadImage() function was not making the correct call to the /upload/image REST API. Removed the confirmUpload function since not needed on a upload since the user has already selected the file they want to upload, pressed "Open", and then pressed the "Upload firmware" button. Resolves openbmc/openbmc#2770 Tested: Uploaded several images to a Witherspoon system. Change-Id: Ia0e0ffba501066f59a4355b8f61595e30aea3f98 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
TODO: Write a project description
nodejs npm
npm install
npm run-script server
This will run it locally in http://localhost:8080
.
https://<bmc-ip>
and bypass the secure warning. You will see a JSON response with Login required
message.http://localhost:8080
. Enter the BMC IP, Username and Password (defaults: root
/0penBmc
).Now you are logged in.