Skip to content

Commit

Permalink
actually use dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Apr 24, 2024
1 parent 0acd9e7 commit 075ad95
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .buildkite/pipelines/pull-request/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ steps:
sudo yum install -y dnsmasq bind-utils
echo 'addn-hosts=/etc/dnsmasq.hosts' | sudo tee -a /etc/dnsmasq.conf
echo "$(hostname -i | cut -d' ' -f 2) $(hostname -f)." | sudo tee /etc/dnsmasq.hosts
sudo service dnsmasq restart
sudo bash -c "echo 'nameserver 169.254.169.253' > /etc/resolv.dnsmasq"
sudo systemctl restart dnsmasq.service
sudo bash -c "echo 'supersede domain-name-servers 127.0.0.1, 169.254.169.253;' >> /etc/dhcp/dhclient.conf"
sudo dhclient
hostname -f
hostname -A
Expand Down

0 comments on commit 075ad95

Please sign in to comment.