Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 19, 2024
1 parent f1685f2 commit 6997ac0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,16 @@ Host *
IdentityFile ~/.ssh/id_rsa
```

Now let's provision our server. As our host doesn't have a user `deployer`,
we are going to override `remote_user` for provisioning via `-o remote_user=root`.
Now let's provision our server.

```sh
dep provision -o remote_user=root
dep provision
```

:::tip

Deployer uses `root` user by default, but you can change it via `-o provision_user=your-user`.

If your server doesn't have a `root` user but your remote user can use `sudo` to
become root, then use:

Expand Down

0 comments on commit 6997ac0

Please sign in to comment.