mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-05 21:43:59 +00:00
Update docs
This commit is contained in:
parent
e73962ea71
commit
1ad65d79ca
@ -16,6 +16,10 @@ BUG FIXES:
|
|||||||
* resource/virtual_environment_vm: Fix `network_device` deletion issue
|
* resource/virtual_environment_vm: Fix `network_device` deletion issue
|
||||||
* resource/virtual_environment_vm: Fix slow refresh when VM is stopped and agent is enabled
|
* resource/virtual_environment_vm: Fix slow refresh when VM is stopped and agent is enabled
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
|
||||||
|
* provider/docs: Add HTML documentation powered by GitHub Pages
|
||||||
|
|
||||||
## 0.2.0
|
## 0.2.0
|
||||||
|
|
||||||
BREAKING CHANGES:
|
BREAKING CHANGES:
|
||||||
|
@ -25,27 +25,19 @@ provider "proxmox" {
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
You can install a specific version of the provider on Windows using Git Bash:
|
You can install the latest release of the provider using either Git Bash or regular Bash:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ export PLUGINS_PATH="$(cygpath "$APPDATA")/terraform.d/plugins"
|
$ export PROVIDER_PLATFORM="$([[ "$OSTYPE" =~ ^msys|cygwin$ ]] && echo "windows" || ([[ "$OSTYPE" == "darwin"* ]] && echo "darwin" || ([[ "$OSTYPE" == "linux"* ]] && echo "linux" || echo "unsupported")))"
|
||||||
$ export PROVIDER_VERSION="0.2.0"
|
$ export PROVIDER_VERSION="$(curl -L -s -H 'Accept: application/json' https://github.com/danitso/terraform-provider-proxmox/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')"
|
||||||
|
$ export PLUGINS_PATH="$([[ "$PROVIDER_PLATFORM" == "windows" ]] && cygpath -u "$APPDATA" || echo "$HOME")/terraform.d/plugins"
|
||||||
$ mkdir -p "$PLUGINS_PATH"
|
$ mkdir -p "$PLUGINS_PATH"
|
||||||
$ curl -o "${PLUGINS_PATH}/terraform-provider-proxmox.zip" -sL https://github.com/danitso/terraform-provider-proxmox/releases/download/${PROVIDER_VERSION}/terraform-provider-proxmox_v${PROVIDER_VERSION}-custom_windows_amd64.zip
|
$ curl -o "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip" -sL "https://github.com/danitso/terraform-provider-proxmox/releases/download/${PROVIDER_VERSION}/terraform-provider-proxmox_v${PROVIDER_VERSION}-custom_${PROVIDER_PLATFORM}_amd64.zip"
|
||||||
$ unzip -o -d "$PLUGINS_PATH" "${PLUGINS_PATH}/terraform-provider-proxmox.zip"
|
$ unzip -o -d "$PLUGINS_PATH" "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip"
|
||||||
$ rm "${PLUGINS_PATH}/terraform-provider-proxmox.zip"
|
$ rm "${PLUGINS_PATH}/terraform-provider-proxmox_v${PROVIDER_VERSION}.zip"
|
||||||
```
|
```
|
||||||
|
|
||||||
On all other platforms, you should be able to install it using Bash:
|
You can also install it manually by following the instructions to [install it as a plugin](https://www.terraform.io/docs/plugins/basics.html#installing-plugins). You can download the latest release from the [releases](https://github.com/danitso/terraform-provider-proxmox/releases) page.
|
||||||
|
|
||||||
```sh
|
|
||||||
$ export PLUGINS_PATH="${HOME}/.terraform.d/plugins"
|
|
||||||
$ export PROVIDER_VERSION="0.2.0"
|
|
||||||
$ mkdir -p "$PLUGINS_PATH"
|
|
||||||
$ curl -o "${PLUGINS_PATH}/terraform-provider-proxmox.zip" -sL https://github.com/danitso/terraform-provider-proxmox/releases/download/${PROVIDER_VERSION}/terraform-provider-proxmox_v${PROVIDER_VERSION}-custom_windows_amd64.zip
|
|
||||||
$ unzip -o -d "$PLUGINS_PATH" "${PLUGINS_PATH}/terraform-provider-proxmox.zip"
|
|
||||||
$ rm "${PLUGINS_PATH}/terraform-provider-proxmox.zip"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Authentication
|
## Authentication
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user