Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix references to internal documentation #59

Merged
merged 1 commit into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

- `paths` ([]string) - List of paths to Yandex Object Storage where exported image will be uploaded.
Please be aware that use of space char inside path not supported.
Also this param support [build](/docs/templates/legacy_json_templates/engine) template function.
Check available template data for [Yandex](/docs/builders/yandex#build-template-data) builder.
Also this param support [build](/packer/docs/templates/legacy_json_templates/engine) template function.
Check available template data for [Yandex](/packer/plugins/builders/yandex#build-template-data) builder.
Paths to Yandex Object Storage where exported image will be uploaded.

<!-- End of code generated from the comments of the Config struct in post-processor/yandex-export/post-processor.go; -->
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
in storage service and first paths (URL) is used to, so no need to set this param.

- `object_name` (string) - The name of the object key in `bucket` where the qcow2 file will be copied to import.
This is a [template engine](/docs/templates/legacy_json_templates/engine).
This is a [template engine](/packer/docs/templates/legacy_json_templates/engine).
Therefore, you may use user variables and template functions in this field.

- `skip_clean` (bool) - Whether skip removing the qcow2 file uploaded to Storage
Expand Down
4 changes: 2 additions & 2 deletions docs/builders/yandex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Configuration options are organized below into two categories: required and
optional. Within each category, the available options are alphabetized and
described.

In addition to the options listed here, a [communicator](/docs/templates/legacy_json_templates/communicator)
In addition to the options listed here, a [communicator](/packer/docs/templates/legacy_json_templates/communicator)
can be configured for this builder. In addition to the options defined there, a private key file
can also be supplied to override the typical auto-generated key:

Expand Down Expand Up @@ -160,7 +160,7 @@ In configuration directives the following variables are available:
## Build Shared Information Variables

This builder generates data that are shared with provisioner and post-processor via build function of
[template engine](/docs/templates/legacy_json_templates/engine) for JSON and [contextual variables](/docs/templates/hcl_templates/contextual-variables)
[template engine](/packer/docs/templates/legacy_json_templates/engine) for JSON and [contextual variables](/packer/docs/templates/hcl_templates/contextual-variables)
for HCL2.

The generated variables available for this builder see above
Expand Down
2 changes: 1 addition & 1 deletion docs/post-processors/yandex-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ As such, assigned Service Account must have write permissions to the Yandex Obje
`paths`. A new temporary static access keys from assigned Service Account used to upload
image.

Also, you should configure [ssh communicator](/docs/communicators/ssh). Default `ssh_username` to `ubuntu`.
Also, you should configure [ssh communicator](/packer/docs/communicators/ssh). Default `ssh_username` to `ubuntu`.

## Configuration

Expand Down
4 changes: 2 additions & 2 deletions post-processor/yandex-export/post-processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ type Config struct {

// List of paths to Yandex Object Storage where exported image will be uploaded.
// Please be aware that use of space char inside path not supported.
// Also this param support [build](/docs/templates/legacy_json_templates/engine) template function.
// Check available template data for [Yandex](/docs/builders/yandex#build-template-data) builder.
// Also this param support [build](/packer/docs/templates/legacy_json_templates/engine) template function.
// Check available template data for [Yandex](/packer/plugins/builders/yandex#build-template-data) builder.
// Paths to Yandex Object Storage where exported image will be uploaded.
Paths []string `mapstructure:"paths" required:"true"`

Expand Down
2 changes: 1 addition & 1 deletion post-processor/yandex-import/post-processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Config struct {
// in storage service and first paths (URL) is used to, so no need to set this param.
Bucket string `mapstructure:"bucket" required:"false"`
// The name of the object key in `bucket` where the qcow2 file will be copied to import.
// This is a [template engine](/docs/templates/legacy_json_templates/engine).
// This is a [template engine](/packer/docs/templates/legacy_json_templates/engine).
// Therefore, you may use user variables and template functions in this field.
ObjectName string `mapstructure:"object_name" required:"false"`
// Whether skip removing the qcow2 file uploaded to Storage
Expand Down
4 changes: 2 additions & 2 deletions website/content/docs/builders/yandex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Configuration options are organized below into two categories: required and
optional. Within each category, the available options are alphabetized and
described.

In addition to the options listed here, a [communicator](/docs/templates/legacy_json_templates/communicator)
In addition to the options listed here, a [communicator](/packer/docs/templates/legacy_json_templates/communicator)
can be configured for this builder. In addition to the options defined there, a private key file
can also be supplied to override the typical auto-generated key:

Expand Down Expand Up @@ -136,7 +136,7 @@ In configuration directives the following variables are available:
## Build Shared Information Variables

This builder generates data that are shared with provisioner and post-processor via build function of
[template engine](/docs/templates/legacy_json_templates/engine) for JSON and [contextual variables](/docs/templates/hcl_templates/contextual-variables)
[template engine](/packer/docs/templates/legacy_json_templates/engine) for JSON and [contextual variables](/packer/docs/templates/hcl_templates/contextual-variables)
for HCL2.

The generated variables available for this builder see above
Expand Down