Skip to content

Commit

Permalink
Update internal.pkr.hcl to install network diagnosis tools (#476)
Browse files Browse the repository at this point in the history
Install net-tools (ifconfig), iptables, nftables (nft).
  • Loading branch information
liulk authored Jan 9, 2024
1 parent 8c2b96b commit 0333295
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,11 @@ build {
"rm add-google-cloud-ops-agent-repo.sh",
]
}

provisioner "shell" {
inline = [
"echo Installing network diagnosis tools...",
"sudo apt-get -o DPkg::Lock::Timeout=60 install net-tools iptables nftables -y",
]
}
}

0 comments on commit 0333295

Please sign in to comment.