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
  • Loading branch information
ibrokethecloud committed Feb 7, 2025
1 parent 6fa1df8 commit 8c9cd26
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 8c9cd26

Please sign in to comment.