update to bullseye
[automated-distro-installer] / fai / config / files / root / fai-check / VOL_BULLSEYE_BOOTSTRAP
similarity index 94%
rename from fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP
rename to fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP
index 900c719183cab428f5461e389661f9ea56a5b6a4..330efcc85c8cc4a812fd5859dfb3149a75155266 100755 (executable)
@@ -70,7 +70,7 @@ for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \
       set +x
     fi
     first=false
-    # we could just as well check if last_boot != /debianbuster_boostrap
+    # we could just as well check if last_boot != /debianbullseye_bootstrap
     # the intent with this one is just a little clearer.
     if [[ $did_fai_check == true ]]; then
       grub-editenv /mnt/grubenv set did_fai_check=os_true
@@ -92,7 +92,7 @@ for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \
 done
 
 # the check for last_boot is not needed afaik, just sanity check.
-if [[ $did_fai_check == true && $last_boot != /debianbuster_boostrap ]]; then
+if [[ $did_fai_check == true && $last_boot != /debianbullseye_bootstrap ]]; then
   # no need to reboot if we actually want to boot into this os.
   reboot
 fi