From 7e75730fc581c2dacc4090aa3288cf1e5ecd06bc Mon Sep 17 00:00:00 2001 From: Tianhao He Date: Fri, 3 Feb 2017 15:54:36 -0800 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b4caf3d0..10f9cc3e 100644 --- a/README.md +++ b/README.md @@ -66,13 +66,13 @@ Before executing the samples we'll need to setup the vSphere test environment us First, from the command line change to the SDK ./bin folder. -``` +```cmd $ cd /path/to/vsphere-automation-sdk-python-samples/bin ``` 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. -``` +```python config["SERVER"] = "" config["USERNAME"] = "" config["PASSWORD"] = "" @@ -107,14 +107,14 @@ This script will perform the following: **To view the available command-line options:** -``` - $ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -h +```cmd +$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -h ``` **To run the setup script:** -``` - $ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -sv +```cmd +$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -sv ``` 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. @@ -124,8 +124,8 @@ This SDK includes a sample script which can be used to perform a number of actio **Run the vAPI vCenter sample suite:** -``` - $ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -riv +```cmd +$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -riv ``` ## API Documentation