Fix other occurences of GNU-specific sed invocation

This commit is contained in:
Brice Fernandes committed 2017-10-04 12:12:28 +01:00
1 parent 1a98cbfff9
commit 292cbc484a
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
host.vm.provision :shell, :inline => <<END
# Tests rely on hostnames, so we remove potentially incorrect entries (e.g. localhost), and add mappings of IP addresses to hostnames:
sed -i '/#{hostname}/d' /etc/hosts
sed -i.bak '/#{hostname}/d' /etc/hosts
echo "#{ETC_HOSTS_ENTRIES}" >> /etc/hosts
# Fix the resolution errors by using 8.8.8.8