Start a Conversation

Unsolved

Closed

AS

3 Posts

344

May 30th, 2023 09:00

Insert VirtualMedia using local file

Hi, I have found a request which inserts virtual media (CD/DVD with ISO in my case), but it needs URI: 

https://developer.dell.com/apis/2978/versions/5.xx/openapi.yaml/paths/~1redfish~1v1~1Managers~1%7BManagerId%7D~1VirtualMedia~1%7BVirtualMediaId%7D~1Actions~1VirtualMedia.InsertMedia/post

Is there any alternative which I can use to upload an ISO file directly, passing bytes of the file?

1 Rookie

 • 

42 Posts

June 11th, 2023 21:00

Hi Anton,

You can use virtual media APIs to insert an ISO file locally from your machine. Please see a working example using python here: https://github.com/dell/iDRAC-Redfish-Scripting/blob/master/Redfish%20Python/InsertEjectVirtualMediaREDFISH.py 

Also, if you are using Ansible, then check out the https://github.com/dell/dellemc-openmanage-ansible-modules/blob/collections/plugins/modules/idrac_virtual_media.py module as well. 

HTH

5 Practitioner

 • 

274.2K Posts

June 17th, 2023 07:00

Hi anton, please can you inform me when you will get the solution

June 18th, 2023 00:00

Thank you, I will try that next time

No Events found!

Top