Merge pull request #5180 from rickard-von-essen/docs-remove-ssh-from-builders
Remove ssh_username` from builder docs
This commit is contained in:
commit
994090cac6
|
@ -281,7 +281,7 @@ the credentials provided in the builder config's `account_file`.
|
|||
|
||||
## Gotchas
|
||||
|
||||
Centos and recent Debian images have root ssh access disabled by default. Set `ssh_username` to
|
||||
CentOS and recent Debian images have root ssh access disabled by default. Set `ssh_username` to
|
||||
any user, which will be created by packer with sudo access.
|
||||
|
||||
The machine type must have a scratch disk, which means you can't use an
|
||||
|
|
|
@ -85,9 +85,6 @@ builder.
|
|||
and "other". This can be omitted only if `parallels_tools_mode`
|
||||
is "disable".
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
|
@ -62,9 +62,6 @@ builder.
|
|||
- `source_path` (string) - The path to a PVM directory that acts as the source
|
||||
of this build.
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
|
@ -109,9 +109,6 @@ Linux server and have not enabled X11 forwarding (`ssh -X`).
|
|||
boot directly from it. When passing a path to an IMG or QCOW2 file, you
|
||||
should set `disk_image` to "true".
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `accelerator` (string) - The accelerator type to use when running the VM.
|
||||
|
|
|
@ -77,12 +77,6 @@ builder.
|
|||
This URL can be either an HTTP URL or a file URL (or path to a file). If
|
||||
this is an HTTP URL, Packer will download it and cache it between runs.
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
- `ssh_password` (string) - The password to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
|
@ -65,9 +65,6 @@ builder.
|
|||
- `source_path` (string) - The path to an OVF or OVA file that acts as the
|
||||
source of this build. It can also be a URL.
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
|
@ -42,6 +42,7 @@ self-install. Still, the example serves to show the basic configuration:
|
|||
"iso_checksum": "af5f788aee1b32c4b2634734309cc9e9",
|
||||
"iso_checksum_type": "md5",
|
||||
"ssh_username": "packer",
|
||||
"ssh_password": "packer",
|
||||
"shutdown_command": "shutdown -P now"
|
||||
}
|
||||
```
|
||||
|
@ -80,9 +81,6 @@ builder.
|
|||
This URL can be either an HTTP URL or a file URL (or path to a file). If
|
||||
this is an HTTP URL, Packer will download it and cache it between runs.
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
|
@ -56,9 +56,6 @@ builder.
|
|||
|
||||
- `source_path` (string) - Path to the source VMX file to clone.
|
||||
|
||||
- `ssh_username` (string) - The username to use to SSH into the machine once
|
||||
the OS is installed.
|
||||
|
||||
### Optional:
|
||||
|
||||
- `boot_command` (array of strings) - This is an array of commands to type
|
||||
|
|
Loading…
Reference in New Issue