Skip to content

Commit

Permalink
more docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
bpg committed May 22, 2022
1 parent 1129752 commit ccb93c6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.4.6)
activesupport (6.0.4.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
Expand Down Expand Up @@ -231,6 +231,7 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.8.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
Expand Down Expand Up @@ -283,7 +284,6 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unf_ext (0.0.8-x64-mingw32)
unicode-display_width (1.8.0)
webrick (1.7.0)
zeitwerk (2.5.4)
Expand All @@ -304,4 +304,4 @@ DEPENDENCIES
webrick (~> 1.7)

BUNDLED WITH
2.2.11
2.3.9
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ plugins:
remote_theme: pmarsceill/just-the-docs

# Theme settings.
footer_content: 'Copyright &copy; 2019-2021 <a href="https://danitso.com/" target="_blank">Danitso</a> - Distributed under the <a href="https://github.com/danitso/terraform-provider-proxmox/blob/master/LICENSE" target="_blank">Mozilla Public License 2.0</a><br>Copyright &copy; 2021 <a href="https://github.com/bpg/" target="_blank">Pavel Boldyrev</a> - Distributed under the <a href="https://github.com/bpg/terraform-provider-proxmox/blob/main/LICENSE" target="_blank">Mozilla Public License 2.0</a>'
footer_content: 'Copyright &copy; 2019-2021 <a href="https://danitso.com/" target="_blank">Danitso</a> - Distributed under the <a href="https://github.com/danitso/terraform-provider-proxmox/blob/master/LICENSE" target="_blank">Mozilla Public License 2.0</a><br>Copyright &copy; 2021-2022 <a href="https://github.com/bpg/" target="_blank">Pavel Boldyrev</a> - Distributed under the <a href="https://github.com/bpg/terraform-provider-proxmox/blob/main/LICENSE" target="_blank">Mozilla Public License 2.0</a>'
heading_anchors: true
search_enabled: false
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Use the navigation to the left to read about the available resources.

## Example Usage

```
```terraform
provider "proxmox" {
virtual_environment {
endpoint = "https://10.0.0.2"
Expand All @@ -36,7 +36,7 @@ The Proxmox provider offers a flexible means of providing credentials for authen
Static credentials can be provided by adding a `username` and `password` in-line in the Proxmox provider block:

```
```terraform
provider "proxmox" {
virtual_environment {
username = "username@realm"
Expand Down
16 changes: 8 additions & 8 deletions docs/resources/virtual_environment_vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Manages a virtual machine.

## Example Usage

```
```terraform
resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
name = "terraform-provider-proxmox-ubuntu-vm"
description = "Managed by Terraform"
Expand All @@ -27,7 +27,7 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
disk {
datastore_id = "local-lvm"
file_id = "${proxmox_virtual_environment_file.ubuntu_cloud_image.id}"
file_id = proxmox_virtual_environment_file.ubuntu_cloud_image.id
interface = "scsi0"
}
Expand All @@ -39,12 +39,12 @@ resource "proxmox_virtual_environment_vm" "ubuntu_vm" {
}
user_account {
keys = ["${trimspace(tls_private_key.ubuntu_vm_key.public_key_openssh)}"]
password = "${random_password.ubuntu_vm_password.result}"
keys = [trimspace(tls_private_key.ubuntu_vm_key.public_key_openssh)]
password = random_password.ubuntu_vm_password.result
username = "ubuntu"
}
user_data_file_id = "${proxmox_virtual_environment_file.cloud_config.id}"
user_data_file_id = proxmox_virtual_environment_file.cloud_config.id
}
network_device {}
Expand Down Expand Up @@ -78,17 +78,17 @@ resource "tls_private_key" "ubuntu_vm_key" {
}
output "ubuntu_vm_password" {
value = "${random_password.ubuntu_vm_password.result}"
value = random_password.ubuntu_vm_password.result
sensitive = true
}
output "ubuntu_vm_private_key" {
value = "${tls_private_key.ubuntu_vm_key.private_key_pem}"
value = tls_private_key.ubuntu_vm_key.private_key_pem
sensitive = true
}
output "ubuntu_vm_public_key" {
value = "${tls_private_key.ubuntu_vm_key.public_key_openssh}"
value = tls_private_key.ubuntu_vm_key.public_key_openssh
}
```

Expand Down

0 comments on commit ccb93c6

Please sign in to comment.