You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,11 +70,15 @@ Please have the details of these available but do not have any configuration pre
70
70
### Running the SDK Sample Setup Script
71
71
Before executing the samples we'll need to setup the vSphere test environment using one of the sample scripts. Before we run the script we'll need to edit one of the files and provide IP addresses for the various machine instances.
72
72
73
-
First, from the command line change to the SDK ./bin folder.
73
+
First, set PYTHONPATH to use SDK helper methods
74
74
75
-
```cmd
76
-
$ cd /path/to/vsphere-automation-sdk-python-samples/bin
77
-
```
75
+
* Linux/Mac:
76
+
77
+
export PYTHONPATH=${PWD}:$PYTHONPATH
78
+
79
+
* Windows:
80
+
81
+
set PYTHONPATH=%cd%;%PYTHONPATH%
78
82
79
83
Next, using a text editor open ../samples/vsphere/vcenter/setup/testbed.py and edit the following settings replace everything in < > brackets with your environment information. Leave the rest of the settings in this file at their default values.
80
84
@@ -114,13 +118,13 @@ This script will perform the following:
After completion you will see from the output and also the vSphere Webclient that the environment has now been fully setup and is ready to easily run further samples.
@@ -131,7 +135,7 @@ This SDK includes a sample script which can be used to perform a number of actio
0 commit comments