-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
1.14.0
What did you expect to happen?
Updating /etc/hosts file (sudo may be required, see `trellis vm sudoers` for more details)
After this line the site should be accessible in the browser.
What actually happens?
Even though the hosts file is properly updated, the browser cannot reach the local site.
If I flush the DNS it works, or if I sudo vi /etc/hosts and save without editing.
Steps to reproduce
trellis vm start
Open example.test
System info
macOS 15.4.1 (24E263)
Log output
Running command => limactl start example.com
INFO[0000] Using the existing instance "example.com"
INFO[0000] Starting the instance "example.com" with VM driver "vz"
INFO[0000] [hostagent] hostagent socket created at /Users/robrecord/.lima/example.com/ha.sock
INFO[0000] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/robrecord/.lima/example.com/serial*.log")
INFO[0002] SSH Local Port: 57755
INFO[0001] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0001] [hostagent] [VZ] - vm state change: running
INFO[0011] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0013] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0013] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0016] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0016] [hostagent] Waiting for the guest agent to be running
INFO[0016] [hostagent] Guest agent is running
INFO[0016] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0016] [hostagent] Forwarding TCP from 127.0.0.1:11211 to 127.0.0.1:11211
INFO[0016] [hostagent] Not forwarding TCP 127.0.0.53:53
INFO[0016] [hostagent] Not forwarding TCP 127.0.0.54:53
INFO[0016] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0017] READY. Run `limactl shell example.com` to open the shell.
Updating /etc/hosts file (sudo may be required, see `trellis vm sudoers` for more details)
Your Trellis VM is ready to use!
* Composer and WP-CLI commands need to be run on the virtual machine for any post-provision modifications.
* You can SSH into the machine with 'trellis vm shell'
* Then navigate to your WordPress sites at '/srv/www'Please confirm this isn't a support request.
Yes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working