Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

If the original disk file is not available, you can create a placeholder file in the folder using the touch command, in the format touch {currentPath}. For example:
touch 1/bundle/e05785d2-b49a-4034-9bb9-3440e1693589-4ba3b6e1-6f06-47d9-8703-9e9/4ba3b6e1-6f06-47d9-8703-9e9eae1c2a9b-snapshot-yVM2b8c91aa4-14b1-44a6-b27b-aa12c7ca3433-flat.vmdk

Steps to obatin the URL for folder names with spaces

The URL to post to contains the enterprise ID and the template folder in the following format.

...

The template folder is the folder path on the NFS Repository, without the file name.

So for a folder name with spaces, for an example with example, “abc def”.

We would have the following “href” and “path”:

...

Code Block
1/bundle/abc%20def

And the The format of the URL to post to would bemust encode the special characters in the folder path again.

Code Block
/am/erepos/1/templates/1/bundle/abc%2520abc

So, in our example, the first part of the post request would look as follows:

Code Block
curl -v -k -X POST "https://remoteservices.example.com:443/am/erepos/1/templates/1/bundle/abc%2520abc"

6. Replace the disk

This request is to the Appliance Manager remote service, so we need to use its URL.

...