generated from hashicorp/packer-plugin-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import partials: migrate common, iso, clone config documentation
- Loading branch information
Showing
12 changed files
with
411 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
docs-partials/builder/proxmox/clone/Config-not-required.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Code generated from the comments of the Config struct in builder/proxmox/clone/config.go; DO NOT EDIT MANUALLY --> | ||
|
||
- `full_clone` (boolean) - Whether to run a full or shallow clone from the base clone_vm. Defaults to `true`. | ||
|
||
- `nameserver` (string) - Set nameserver IP address(es) via Cloud-Init. | ||
If not given, the same setting as on the host is used. | ||
|
||
- `searchdomain` (string) - Set the DNS searchdomain via Cloud-Init. | ||
If not given, the same setting as on the host is used. | ||
|
||
- `ipconfig` ([]cloudInitIpconfig) - Set IP address and gateway via Cloud-Init. | ||
See the [CloudInit Ip Configuration](#cloudinit-ip-configuration) documentation for fields. | ||
|
||
<!-- End of code generated from the comments of the Config struct in builder/proxmox/clone/config.go; --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- Code generated from the comments of the Config struct in builder/proxmox/clone/config.go; DO NOT EDIT MANUALLY --> | ||
|
||
- `clone_vm` (string) - The name of the VM Packer should clone and build from. | ||
Either `clone_vm` or `clone_vm_id` must be specifed. | ||
|
||
- `clone_vm_id` (int) - The ID of the VM Packer should clone and build from. | ||
Proxmox VMIDs are limited to the range 100-999999999. | ||
Either `clone_vm` or `clone_vm_id` must be specifed. | ||
|
||
<!-- End of code generated from the comments of the Config struct in builder/proxmox/clone/config.go; --> |
11 changes: 11 additions & 0 deletions
11
docs-partials/builder/proxmox/clone/cloudInitIpconfig-not-required.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Code generated from the comments of the cloudInitIpconfig struct in builder/proxmox/clone/config.go; DO NOT EDIT MANUALLY --> | ||
|
||
- `ip` (string) - Either an IPv4 address (CIDR notation) or `dhcp`. | ||
|
||
- `gateway` (string) - IPv4 gateway. | ||
|
||
- `ip6` (string) - Can be an IPv6 address (CIDR notation), `auto` (enables SLAAC), or `dhcp`. | ||
|
||
- `gateway6` (string) - IPv6 gateway. | ||
|
||
<!-- End of code generated from the comments of the cloudInitIpconfig struct in builder/proxmox/clone/config.go; --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- Code generated from the comments of the cloudInitIpconfig struct in builder/proxmox/clone/config.go; DO NOT EDIT MANUALLY --> | ||
|
||
If you have configured more than one network interface, make sure to match the order of | ||
`network_adapters` and `ipconfig`. | ||
|
||
Usage example (JSON): | ||
|
||
```json | ||
[ | ||
{ | ||
"ip": "192.168.1.55/24", | ||
"gateway": "192.168.1.1", | ||
"ip6": "fda8:a260:6eda:20::4da/128", | ||
"gateway6": "fda8:a260:6eda:20::1" | ||
} | ||
] | ||
``` | ||
|
||
<!-- End of code generated from the comments of the cloudInitIpconfig struct in builder/proxmox/clone/config.go; --> |
Oops, something went wrong.