mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
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 ```
This commit is contained in:
@@ -97,6 +97,8 @@ RUN pwsh -Command 'Install-Module VMware.PowerCLI -Force -Scope AllUsers' && \
|
||||
pwsh -Command 'Install-Module -Name EPS -RequiredVersion 1.0 -Force -Scope AllUsers' && \
|
||||
mkdir -p /output/.local/share/VMware/PowerCLI && chmod -R 777 /output/.local
|
||||
|
||||
RUN mkdir /output/.ssh && chown 1000:1000 "/output/.ssh/" && chmod -R g=u "/output/.ssh/"
|
||||
|
||||
RUN chown 1000:1000 /output && chmod -R g=u "/output/.bluemix/"
|
||||
USER 1000:1000
|
||||
ENV PATH /bin
|
||||
|
||||
Reference in New Issue
Block a user