Skip to content

creating a server profile with local storage is problematic #496

Answered by ChrisLynchHPE
hbxx asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't an issue with the library, but with the server itself. If you do need to workaround this, I would suggest the following:

$serverprofile = New-OVServerProfile -ServerProfileTemplate $spt -Passthru

# Mimic the "Okay" button in the UI when creating the profile
Send-OVRequest -Uri "/rest/server-profiles?force=all" -method POST -body $serverprofile

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ChrisLynchHPE
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #496 on December 08, 2020 20:17.