On Wed, Jul 27, 2016 at 6:19 PM, Soham Chakraborty <[email protected]>
wrote:
> sed -i "2i 192.168.33.33 puppetmaster.example.com puppet"
>
Hello,
Looks good, you could something like this
grep -i puppetmaster /etc/hosts || {
echo "192.168.33.33 puppetmaster.example.com puppet" | tee -a /etc/hosts
}
Alvaro.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyDMzN3ASby%3DAkh2t7SM9n_qCtQ0L-8aCA5Jom1CarBbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.