Skip to content

Commit 53e31db

Browse files
committed
PowerVS: add .ssh directory
Now that PowerVS uses the upi-installer image, it is encountering the following error: ``` mkdir: cannot create directory '/output/.ssh': Permission denied cp: cannot create regular file '/output/.ssh/': Not a directory ```
1 parent 961a184 commit 53e31db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

images/installer/Dockerfile.upi.ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ RUN pwsh -Command 'Install-Module VMware.PowerCLI -Force -Scope AllUsers' && \
9797
pwsh -Command 'Install-Module -Name EPS -RequiredVersion 1.0 -Force -Scope AllUsers' && \
9898
mkdir -p /output/.local/share/VMware/PowerCLI && chmod -R 777 /output/.local
9999

100+
RUN mkdir /output/.ssh && chown 1000:1000 "/output/.ssh/" && chmod -R g=u "/output/.ssh/"
101+
100102
RUN chown 1000:1000 /output && chmod -R g=u "/output/.bluemix/"
101103
USER 1000:1000
102104
ENV PATH /bin

0 commit comments

Comments
 (0)