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

Add pimpmylog and xhprof to hostsupdater #120

Closed
nerdstein opened this issue Jun 11, 2015 · 2 comments
Closed

Add pimpmylog and xhprof to hostsupdater #120

nerdstein opened this issue Jun 11, 2015 · 2 comments

Comments

@nerdstein
Copy link
Contributor

Currently, when you specify a hostname, like project.dev, this host is automatically added to /etc/hosts

I would like the same for:

  • pimpmylog.hostname
  • xhprof.hostname
@geerlingguy
Copy link
Owner

This is likely at odds with #117 - unfortunately, I'm not sure if it will be easy to have it both ways; Ruby can't do the host substitution in any simple way, I don't think. But I'll take a look.

Otherwise, you'll need to manually add the hosts entries to /etc/hosts.

@geerlingguy
Copy link
Owner

I've decided to go back to hardcoding .drupalvm.dev in the names; if you need to, you can override those paths by hand in config.yml... otherwise, the common pattern will be to use your normal URLs for all the normal docroots, but [utility].drupalvm.dev for all the utilities (Pimp my logs and XHProf for now).

If you run multiple copies of Drupal VM, you'll have to either live with those aliases being switched between the instances whenever your bring up a new one and bring down another, or change them by hand in config.yml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants