From 241032e7e8b82bfa676981904f481f3801e7734b Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Wed, 21 Aug 2024 23:01:59 +0200 Subject: [PATCH] Deploy podman on CentOS with deploy-manager.sh (#2400) Signed-off-by: Christian Berendt --- scripts/deploy-manager.sh | 5 +++++ scripts/deploy/100-ceph-services.sh | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/deploy-manager.sh b/scripts/deploy-manager.sh index be81b1bb..bf9fdb0f 100755 --- a/scripts/deploy-manager.sh +++ b/scripts/deploy-manager.sh @@ -26,6 +26,11 @@ osism apply operator -u $IMAGE_NODE_USER -l testbed-nodes osism apply --environment custom facts osism apply bootstrap +# On CentOS the Ceph deployment only works with podman. +if [[ -e /etc/redhat-release ]]; then + osism apply podman +fi + # copy network configuration osism apply network diff --git a/scripts/deploy/100-ceph-services.sh b/scripts/deploy/100-ceph-services.sh index d068a7c7..d96adc8c 100755 --- a/scripts/deploy/100-ceph-services.sh +++ b/scripts/deploy/100-ceph-services.sh @@ -15,11 +15,6 @@ if [[ $MANAGER_VERSION == "latest" && $CEPH_VERSION == "pacific" ]]; then sed -i "s/osism.commons.still_alive/community.general.yaml/" /opt/configuration/environments/ansible.cfg fi -# On CentOS the Ceph deployment only works with podman. -if [[ -e /etc/redhat-release ]]; then - osism apply podman -fi - if [[ $MANAGER_VERSION =~ ^4\.[0-9]\.[0-9]$ ]]; then osism apply ceph-base osism apply ceph-mdss