Skip to content

Commit 6ce0c92

Browse files
committed
Fix home user reference in tripleo install
Escape the HOME env var as we want to refer to the target host' user home instead of the host where we generate the script. Signed-off-by: Bohdan Dobrelia <[email protected]>
1 parent a7f183b commit 6ce0c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devsetup/scripts/tripleo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if [ ! -f \$HOME/containers-prepare-parameters.yaml ]; then
111111
--output-env-file \$HOME/containers-prepare-parameters.yaml \${login_args}
112112
# Adoption requires Ceph 7 (Reef) as a requirement. Instead of performing a Ceph
113113
# upgrade from 6 (the default) to 7, let's try to deploy 7 in greenfield
114-
sed -i "s|rhceph-6-rhel9|rhceph-7-rhel9|" $HOME/containers-prepare-parameters.yaml
114+
sed -i "s|rhceph-6-rhel9|rhceph-7-rhel9|" \$HOME/containers-prepare-parameters.yaml
115115
else
116116
echo "Using existing containers-prepare-parameters.yaml"
117117
fi

0 commit comments

Comments
 (0)