Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 8881228

Browse files
authored
Merge pull request #1943 from harold20/update-drupal-console-remote-site
[docs] Update drupal console remote sites
2 parents 3b672b9 + 018f5c2 commit 8881228

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/extras/drupal-console.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@ To run commands on your host computer but execute them on the VM, add a new site
2727
dev:
2828
root: /var/www/drupalvm/drupal
2929
host: 192.168.88.88
30-
user: vagrant
3130
password: vagrant
31+
type: ssh
32+
extra-options: '-o PasswordAuthentication=no -i ~/.vagrant.d/insecure_private_key'
3233
```
3334
3435
Execute from host machine using the `--target` option.
3536

3637
drupal --target=drupalvm.test site:status
3738

39+
or
40+
41+
drupal @drupalvm.test site:status
42+
3843
For more details, see [Drupal Console's documentation](https://docs.drupalconsole.com/en/alias/how-to-use-drupal-console-in-a-remote-installation.html)
3944

4045
For a list of available role variables, see the [`geerlingguy.drupal-console` Ansible role's README](https://github.com/geerlingguy/ansible-role-drupal-console#readme).

0 commit comments

Comments
 (0)