bmc-toolbox/bmclib

idrac9: bmc.Screenshot() returns 403

Closed this issue · 0 comments

Seems like I've been testing this method while being logged into the idrac9,
this meant I missed out a request that is required before fetching capconsole/scapture0.png

https://github.com/bmc-toolbox/bmclib/blob/master/providers/dell/idrac9/query.go#L10

To fix this

  1. GET https:///sysmgmt/2015/server/preview
  2. GET https:///capconsole/scapture0.png