libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [libcloud] atarbalouti opened a new pull request #1602: fix linux command deployment when running libcloud on windows
Date Tue, 14 Sep 2021 08:17:19 GMT

atarbalouti opened a new pull request #1602:

   ## Fix right path composition suited for destination machine
   ### Description
   When running libcloud on Windows to deploy a linux machine in the cloud with a ScriptDeployment,
it had always promted me an error which was like "stderr: bash: /home/
No such file or directory". So, the path was not right formatted. The error was in the os.path.join
method, which produces a false path on windows like "/home/google\\".
So I had to add the .replace("\\","/") method to the os.path.join.
   ### Status
   - done, ready for review
   ### Checklist (tick everything that applies)
   - [x] [Code linting](
(required, can be done after the PR checks)
   - [ ] Documentation
   - [ ] [Tests](
   - [ ] [ICLA](
(required for bigger changes)

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail:

For queries about this service, please contact Infrastructure at:

View raw message