1. 03 Oct, 2017 1 commit
    • Jérome Perrin's avatar
      slaprunner: provide pidfile in config file for slapos node · 31837fc3
      Jérome Perrin authored
      Set default pidfiles for slapos node software and slapos node instance
      command so that when they are executed they use by default the same
      pidfile that are used by slaprunner GUI ( the green "play" button ).
      
      This prevents potential problems with running slapos twice and fixs the
      problem that default pidfile ( /opt/slapos/slapgrid-sr.pid ) is not writable.
      31837fc3
  2. 28 Sep, 2017 1 commit
    • Jérome Perrin's avatar
      Add Mosh component · 728b9ba2
      Jérome Perrin authored
      Add a Mosh (mobile shell) component https://mosh.org/ , especially for the "local echo" feature ( see [demo](https://youtu.be/XsIxNYl0oyU?t=6m11s)) that makes remote shell over high latency network less painful.
      
      ---
      I could not get the integrated `mosh` command to work with webrunner's openssh, but I'm already opening this MR for visibility.
      For now, connecting using the way described as **Q: How do I run the mosh client and server separately?** in mosh [FAQ](https://mosh.org/#faq) works.
      
      You can evaluate this with:
      ```ini
      [buildout]
      extends = component/mosh/buildout.cfg
      parts = mosh
      ```
      
      Start the server from the server side (after ssh'ing to the server) :
      ```bash
      $ LC_ALL=C.UTF-8 ./parts/mosh/bin/mosh-server new -s -v
      ```
      it will prints something like:
      ```
      MOSH CONNECT 60002 XXXeu5nj+CLZtw/HiIcrLQ
      
      mosh-server (mosh 1.3.0) [build mosh 1.3.0]
      Copyright 2012 Keith Winstein <mosh-devel@mit.edu>
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      
      [mosh-server detached, pid = 24525]
      ```
      
      then from client connect with:
       ```bash
      $ MOSH_KEY=XXXeu5nj+CLZtw/HiIcrLQ mosh-client 2001:X:X:X:X  60002
      ```
      
      /reviewed-on nexedi/slapos!164
      728b9ba2
  3. 27 Sep, 2017 9 commits
  4. 26 Sep, 2017 1 commit
  5. 25 Sep, 2017 1 commit
  6. 20 Sep, 2017 2 commits
  7. 18 Sep, 2017 1 commit
  8. 14 Sep, 2017 3 commits
  9. 13 Sep, 2017 7 commits
  10. 12 Sep, 2017 4 commits
  11. 11 Sep, 2017 3 commits
  12. 07 Sep, 2017 2 commits
  13. 06 Sep, 2017 2 commits
  14. 01 Sep, 2017 3 commits