Skip to content

Commit

Permalink
add directives for cni reset in base image. This ensures they are rol…
Browse files Browse the repository at this point in the history
…led out to target systems as part of the upgrade cycle

(cherry picked from commit 83a51bc)
  • Loading branch information
ibrokethecloud authored and bk201 committed Feb 13, 2025
1 parent 422e65f commit 9cb7f3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/harvester-os/files/system/oem/99_cni_reset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: "reset container dhcp leases"
stages:
initramfs:
- command:
- rm -rf /var/lib/cni/networks/k8s-pod-network

0 comments on commit 9cb7f3f

Please sign in to comment.