Merge pull request #4630 from mitchellh/douserfix

the digitalocean ubuntu user is root
This commit is contained in:
Matthew Hooker 2017-03-06 13:55:49 -08:00 committed by GitHub
commit 0bd04f7bab
2 changed files with 6 additions and 5 deletions

View File

@ -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"
}
```

View File

@ -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",