Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !227

slaprunner: review $PATH and integrate mosh

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge feat/mosh_in_slaprunner into master Sep 28, 2017
  • Overview 10
  • Commits 10
  • Pipelines 0
  • 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
Reviewers
Request review from
Time tracking
Source branch: feat/mosh_in_slaprunner
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7