Skip to content

Commit

Permalink
Revise the cloud build script. (#583)
Browse files Browse the repository at this point in the history
Revise the cloud build scriptwq./third_party/openconfig/kne/internal/copybara.sh
  • Loading branch information
guoshiuan authored Dec 18, 2024
1 parent b25db18 commit 11f9c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ build {
"echo \"fs.inotify.max_queued_events=13107200\" | sudo tee -a /etc/sysctl.conf", # configure inotify for cisco xrd containers
"echo \"kernel.pid_max=1048575\" | sudo tee -a /etc/sysctl.conf", # configure pid_max for cisco 8000e containers
"sudo modprobe br_netfilter",
"sudo echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables",
"sudo echo 1 > /proc/sys/net/ipv4/ip_forward",
"echo \"1\" > sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables",
"echo \"1\" > sudo tee /proc/sys/net/ipv4/ip_forward",
"sudo sysctl --system",
"sudo sysctl -p",
]
Expand Down
4 changes: 2 additions & 2 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ build {
"sudo install packaging/systemd/* /etc/systemd/system",
"sudo sed -i -e 's,/usr/bin/cri-dockerd,/usr/local/bin/cri-dockerd,' /etc/systemd/system/cri-docker.service",
"sudo modprobe br_netfilter",
"sudo echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables",
"sudo echo 1 > /proc/sys/net/ipv4/ip_forward",
"echo \"1\" > sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables",
"echo \"1\" > sudo tee /proc/sys/net/ipv4/ip_forward",
"sudo sysctl --system",
"sudo sysctl -p",
"sudo systemctl daemon-reload",
Expand Down

0 comments on commit 11f9c66

Please sign in to comment.