Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite866af2

Browse files
committed
fix dnsmasq config
1 parent314e219 commite866af2

File tree

1 file changed

+2
-1
lines changed
  • examples/templates/docker-devcontainer

1 file changed

+2
-1
lines changed

‎examples/templates/docker-devcontainer/main.tf‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ resource "coder_agent" "main" {
105105
sudo apt-get update -y
106106
sudo apt-get install -y dnsmasq
107107
108-
echo "resolv-file=/etc/resolv.conf" | sudo tee /etc/dnsmasq.conf
108+
echo "no-hosts" | sudo tee /etc/dnsmasq.conf
109109
echo "address=/host.docker.internal/$dns_ip" | sudo tee -a /etc/dnsmasq.conf
110+
echo "resolv-file=/etc/resolv.conf" | sudo tee -a /etc/dnsmasq.conf
110111
echo "no-dhcp-interface=" | sudo tee -a /etc/dnsmasq.conf
111112
echo "bind-interfaces" | sudo tee -a /etc/dnsmasq.conf
112113
echo "listen-address=127.0.0.1,$dns_ip" | sudo tee -a /etc/dnsmasq.conf

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp