mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-28 02:34:02 -04:00
the digitalocean ubuntu user is root
This commit is contained in:
@@ -88,8 +88,9 @@ access tokens:
|
||||
{
|
||||
"type": "digitalocean",
|
||||
"api_token": "YOUR API KEY",
|
||||
"image": "ubuntu-12-04-x64",
|
||||
"region": "nyc2",
|
||||
"size": "512mb"
|
||||
"image": "ubuntu-14-04-x64",
|
||||
"region": "nyc3",
|
||||
"size": "512mb",
|
||||
"ssh_username": "root"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -68,7 +68,7 @@ array.
|
||||
"image": "ubuntu-14-04-x64",
|
||||
"region": "nyc3",
|
||||
"size": "512mb",
|
||||
"ssh_username": "ubuntu"
|
||||
"ssh_username": "root"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -106,7 +106,7 @@ The entire template should now look like this:
|
||||
"image": "ubuntu-14-04-x64",
|
||||
"region": "nyc3",
|
||||
"size": "512mb",
|
||||
"ssh_username": "ubuntu"
|
||||
"ssh_username": "root"
|
||||
}],
|
||||
"provisioners": [{
|
||||
"type": "shell",
|
||||
|
||||
Reference in New Issue
Block a user