Skip to content

Commit de8fc1f

Browse files
deekay2310claude
andcommitted
fix(ibmcloud): remove nonexistent /opt/dotnet from ppc64le snippet
On RHEL 9/ppc64le, dotnet installs to /usr/lib64/dotnet via dnf, not /opt/dotnet. The GH runner is self-contained (uses ./bin/Runner.Listener) and does not need DOTNET_ROOT. The chown on /opt/dotnet caused cloud-init to fail after a successful build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 265345e commit de8fc1f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pkg/integrations/github/snippet-linux-ppc64le.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,10 @@ if [ ! -f /opt/runner-cache/config.sh ]; then
9797
fi
9898

9999
id -u runner &>/dev/null || useradd -m -s /bin/bash runner
100-
chown -R runner:runner /opt/runner-cache /opt/dotnet
100+
chown -R runner:runner /opt/runner-cache
101101

102102
sudo -u runner bash -c '
103103
cd /opt/runner-cache
104-
export DOTNET_ROOT=/opt/dotnet
105-
export PATH=$PATH:$DOTNET_ROOT
106104
107105
./config.sh \
108106
--unattended \

0 commit comments

Comments
 (0)