Skip to content

Commit 6999db0

Browse files
committed
Revert "Added correct docker and terraform configuration commands"
This reverts commit 1f85a1e.
1 parent 1f85a1e commit 6999db0

1 file changed

Lines changed: 7 additions & 22 deletions

File tree

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,9 @@ $ make build
4848
$ ls $GOPATH/bin/terraform-provider-cloudstack
4949
```
5050
Once the build is ready, you have to copy the binary into Terraform locally (version appended).
51-
52-
On Linux and Mac this path is at ~/.terraform.d/plugins,
53-
On Windows at %APPDATA%\terraform.d\plugins,
54-
51+
On Linux this path is at ~/.terraform.d/plugins, and on Windows at %APPDATA%\terraform.d\plugins.
5552
```sh
56-
$ cd ~
57-
$ mkdir -p .terraform.d/plugins/localdomain/provider/cloudstack/0.4.0/linux_amd64
58-
$ cp $GOPATH/bin/terraform-provider-cloudstack .terraform.d/plugins/localdomain/provider/cloudstack/0.4.0/linux_amd64
53+
$ ls ~/.terraform.d/plugins/registry.terraform.io/cloudstack/cloudstack/0.4.0/linux_amd64/terraform-provider-cloudstack_v0.4.0
5954
```
6055

6156
Testing the Provider
@@ -70,18 +65,8 @@ $ make test
7065
In order to run the full suite of Acceptance tests you will need to run the CloudStack Simulator. Please follow these steps to prepare an environment for running the Acceptance tests:
7166

7267
```sh
73-
docker pull apache/cloudstack-simulator
74-
75-
or pull it with a particular build tag
76-
77-
docker pull apache/cloudstack-simulator:4.17.2.0
78-
79-
docker run --name simulator -p 8080:5050 -d apache/cloudstack-simulator
80-
81-
or
82-
83-
docker run --name simulator -p 8080:5050 -d apache/cloudstack-simulator:4.17.2.0
84-
68+
$ docker pull cloudstack/simulator
69+
$ docker run --name simulator -p 8080:5050 -d cloudstack/simulator
8570
```
8671

8772
When Docker started the container you can go to http://localhost:8080/client and login to the CloudStack UI as user `admin` with password `password`. It can take a few minutes for the container is fully ready, so you probably need to wait and refresh the page for a few minutes before the login page is shown.
@@ -106,16 +91,16 @@ In order for all the tests to pass, you will need to create a new (empty) projec
10691
$ make testacc
10792
```
10893

109-
Sample Terraform configuration when testing locally
110-
---------------------------------------------------
94+
Sample Terraform configuration
95+
------------------------------
11196
Below is an example configuration to initialize provider and create a Virtual Machine instance
11297

11398
```sh
11499
$ cat provider.tf
115100
terraform {
116101
required_providers {
117102
cloudstack = {
118-
source = "localdomain/provider/cloudstack"
103+
source = "cloudstack/cloudstack"
119104
version = "0.4.0"
120105
}
121106
}

0 commit comments

Comments
 (0)