Fix builder unique id
Add new ARM64 commercial types DOC - Add default value for optional settings DOC - Fix typo
This commit is contained in:
parent
edf9dd1517
commit
09805911b4
@ -15,7 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// The unique id for the builder
|
// The unique id for the builder
|
||||||
const BuilderId = "pearkes.scaleway"
|
const BuilderId = "hashicorp.scaleway"
|
||||||
|
|
||||||
type Builder struct {
|
type Builder struct {
|
||||||
config Config
|
config Config
|
||||||
|
@ -56,17 +56,17 @@ builder.
|
|||||||
be available.
|
be available.
|
||||||
|
|
||||||
- `commercial_type` (string) - The name of the server commercial type: `C1`, `C2S`, `C2M`,
|
- `commercial_type` (string) - The name of the server commercial type: `C1`, `C2S`, `C2M`,
|
||||||
`C2L`, `X64-2GB`, `X64-4GB`, `X64-8GB`, `X64-15GB`, `X64-30GB`, `X64-60GB`, `X64-120GB`
|
`C2L`, `X64-2GB`, `X64-4GB`, `X64-8GB`, `X64-15GB`, `X64-30GB`, `X64-60GB`, `X64-120GB`, `ARM64-2GB`, `ARM64-4GB`, `ARM64-8GB`, `ARM64-16GB`, `ARM64-32GB`, `ARM64-64GB`, `ARM64-128GB`
|
||||||
|
|
||||||
### Optional:
|
### Optional:
|
||||||
|
|
||||||
- `server_name` (string) - The name assigned to the server.
|
- `server_name` (string) - The name assigned to the server. Default `packer-UUID`
|
||||||
|
|
||||||
- `image_name` (string) - The name of the resulting image that will
|
- `image_name` (string) - The name of the resulting image that will
|
||||||
appear in your account.
|
appear in your account. Default `packer-TIMESTAMP`
|
||||||
|
|
||||||
- `snapshot_name` (string) - The name of the resulting snapshot that will
|
- `snapshot_name` (string) - The name of the resulting snapshot that will
|
||||||
appear in your account.
|
appear in your account. Default `packer-TIMESTAMP
|
||||||
|
|
||||||
## Basic Example
|
## Basic Example
|
||||||
|
|
||||||
@ -78,13 +78,14 @@ access tokens:
|
|||||||
"type": "scaleway",
|
"type": "scaleway",
|
||||||
"api_access_key": "YOUR API ACCESS KEY",
|
"api_access_key": "YOUR API ACCESS KEY",
|
||||||
"api_token": "YOUR TOKEN",
|
"api_token": "YOUR TOKEN",
|
||||||
"image": "f01f8a48-c026-48ac-9771-a70eaac0890e",
|
"image": "UUID OF THE BASE IMAGE",
|
||||||
"region": "par1",
|
"region": "par1",
|
||||||
"commercial_type": "X64-2GB",
|
"commercial_type": "X64-2GB",
|
||||||
"ssh_username": "root",
|
"ssh_username": "root",
|
||||||
"ssh_private_key_file": "~/.ssh/id_rsa",
|
"ssh_private_key_file": "~/.ssh/id_rsa",
|
||||||
|
Extra,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
When you do not specified the `ssh_private_key_file`, a temporarily SSH keypair is generated to connect the server.
|
When you do not specified the `ssh_private_key_file`, a temporarily SSH keypair is generated to connect the server.
|
||||||
This key will only allows the `root` user to connect the server.
|
This key will only allow the `root` user to connect the server.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user