Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !227

Merged
Created Sep 28, 2017 by Jérome Perrin@jeromeOwner

slaprunner: review $PATH and integrate mosh

  • Overview 10
  • Commits 10
  • Changes 6

Following up !164 (merged) , this enables mosh in slaprunner.

At the same time this merge request contains changes so that:

  • $PATH is defined consistently for all services, in a single place in the profile
  • $PATH is not influenced by the current environment of the user running slapos or the system default. /usr/bin:/bin/ is still present in $PATH, but at the end, so that we fallback to system for commands not provided by slaprunner.

This also changes the way slapos command select the wrapper controlling web runner introduced !158 (merged) by adding ~/bin/ to the $PATH in ~/.bash_profile and no longer in a new ~/.bashrc

After these changes, we can use mosh with:

LC_ALL=C.UTF-8 mosh slapuser0@2001:67c:?:?:?:? --ssh='ssh -p 22222'

or if we set a ~/.ssh/config with:

host slaprunner_mosh
 user slapuser0
 port 22222
 hostname 2001:67c:?:?:?:?

simply:

LC_ALL=C.UTF-8 mosh slaprunner_mosh
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/mosh_in_slaprunner
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7