[PATCH 2/5] base_image: fix BASE_IMAGE variable in rolling release warning

Daniel Gomez <[email protected]>
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

Change ${BASE_IMAGE} shell variable syntax to {{ base_image_pathname }}
Ansible variable syntax in the rolling distribution release warning
message. This ensures the actual base image path is displayed to
users instead of literal shell variable text.

The warning now shows the correct path for users to remove when
upgrading rolling distribution images.

Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>
---
 playbooks/roles/base_image/tasks/custom-image.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/roles/base_image/tasks/custom-image.yml b/playbooks/roles/base_image/tasks/custom-image.yml
index 0f20d176..204e3099 100644
--- a/playbooks/roles/base_image/tasks/custom-image.yml
+++ b/playbooks/roles/base_image/tasks/custom-image.yml
@@ -270,7 +270,7 @@
       Running guests always use their own copy. To rebuild your custom
       base image from the custom image, also remove the base image:
 
-      rm -f  ${BASE_IMAGE}
+      rm -f  {{ base_image_pathname }}
 
       This can always be done safely without affecting running guests.
       ------------------------------------------------------------------

-- 
2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.