bigfix / boxes

A collection of packer templates to create vagrant boxes for building and installing IBM Endpoint Manager
Apache License 2.0
6 stars 2 forks source link

fix mdns and avahi configuration #6

Closed gnawhleinad closed 9 years ago

gnawhleinad commented 9 years ago

pre b9722db6cea42b0634e4b80d82ef3578509bd049:

$ time vagrant ssh -c 'echo hodor'
hodor
Connection to 127.0.0.1 closed.

real    0m7.456s
user    0m0.046s
sys     0m0.045s

post b9722db6cea42b0634e4b80d82ef3578509bd049:

$ time vagrant ssh -c 'echo hodor'
hodor
Connection to 127.0.0.1 closed.

real    0m2.354s
user    0m0.030s
sys     0m0.045s

I'm going to leave this open because I still think there's more I can do...

gnawhleinad commented 9 years ago

TODO: try http://blog.linuxjunkie.com/blog/2012/04/06/slow-ssh-and-ping-related-to-reverse-dns/

gnawhleinad commented 9 years ago

If the root server is restarted, the .test network does not survive.

gnawhleinad commented 9 years ago

If the root server is restarted, the .test network does not survive.

I believe this is happening because avahi-daemon is starting up before the private network interface is ready.

I'm working on a fix to adjust the avahi-daemon.service.