Merge pull request #640 from Azure/pr032020

fix run-local instructions
This commit is contained in:
Anthony Howe 2020-04-24 21:24:18 -04:00 коммит произвёл GitHub
Родитель 2df00fd446 acf3615721
Коммит 47f4aae6be
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 15 добавлений и 8 удалений

Просмотреть файл

@ -8,27 +8,34 @@ This is useful in locked down environments where it is difficult to reach the co
To run the example, execute the [1-filer example](../1-filer), but comment out the avere_vfxt and the last three output variables.
1. once complete, login to the controller, and download the following two files:
1. once complete, login to the controller using the "controller_address"
2. install unzip
```bash
sudo apt-get install unzip
```
3. install the provider and terraform and the main.tf file:
```bash
cd
mkdir -p ~/.terraform.d/plugins
wget -O ~/.terraform.d/plugins/terraform-provider-avere https://github.com/Azure/Avere/releases/download/tfprovider_v0.7.3/terraform-provider-avere
sudo apt-get install unzip
chmod +x ~/.terraform.d/plugins/terraform-provider-avere
wget https://releases.hashicorp.com/terraform/0.12.24/terraform_0.12.24_linux_amd64.zip
unzip terraform_0.12.24_linux_amd64.zip
sudo mv terraform /usr/bin
mkdir vfxt
rm terraform_0.12.24_linux_amd64.zip
mkdir -p vfxt
cd vfxt
wget -O main.tf https://raw.githubusercontent.com/Azure/Avere/master/src/terraform/examples/vfxt/run-local/main.tf
```
4. `vi main.tf` to edit the local variables section at the top of the file, to customize to your preferences.
2. `vi main.tf` to edit the local variables section at the top of the file, to customize to your preferences.
5. execute `terraform init` in the directory of `main.tf`.
3. execute `terraform init` in the directory of `main.tf`.
6. execute `terraform apply -auto-approve` to build the vfxt cluster
4. execute `terraform apply -auto-approve` to build the vfxt cluster
5. in a separate shell, you can tail the log files in the home directory: `tail -f ~/*.log`
7. in a separate shell, you can tail the log files in the home directory: `tail -f ~/*.log`
Once installed you will be able to login and use the vFXT cluster according to the vFXT documentation: https://docs.microsoft.com/en-us/azure/avere-vfxt/avere-vfxt-cluster-gui.