]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
prep-fog-capture: Always run on boot
authorDavid Galloway <david.galloway@ibm.com>
Wed, 21 Jan 2026 14:10:30 +0000 (09:10 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 21 Jan 2026 20:21:31 +0000 (15:21 -0500)
In case we've changed the kernel version and messed with device naming

Signed-off-by: David Galloway <david.galloway@ibm.com>
tools/prep-fog-capture.yml

index cda608fce221251495099be4ebb7ad4dd96b1656..a1e822f58a47eef1220dd21cf0978b3a08a71cae 100644 (file)
             OUT="/etc/netplan/01-fog.yaml"
             STAMP="/.cephlab_net_configured"
 
-            if [[ -f "$STAMP" ]]; then
-              exit 0
-            fi
-
             rm -f /etc/netplan/*.yaml || true
 
             pick_iface() {
             set -euo pipefail
 
             STAMP="/.cephlab_net_configured"
-            if [[ -f "$STAMP" ]]; then
-              exit 0
-            fi
 
             pick_iface() {
               for c in /sys/class/net/*/carrier; do