Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise the cloud build script. #583

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading