[elbe-devel] [RFC PATCH 0/5] rsync git checkout into initvm

Olivier Dion dion at linutronix.de
Tue May 5 22:02:46 CEST 2020


This patch allows to synchronize Elbe local repository with the
development initvm.

It adds port forwarding for both ssh and rsync daemons, using the
ports 5022 and 8730 respectively, on the host side.  The port 8730 can
be overriden with the ELBE_RSYNCPORT environment variable.

The ssh daemon is configure to allow root login.

The rsync daemon is configure to allow upload only from the host.

A new initvm command is added.  Calling '$ elbe initvm sync' from
anywhere in the project will synchronize the local repo with the
initvm.

Olivier Dion (5):
  init default-init.xml: Add ssh and rsync forwarding
  init init-elbe.sh.mako: Configure ssh/rsync on devel guests
  config: Add rsyncport configuration
  initvmaction: Cleanup actions registration
  initvmaction: Add sync action

 elbepack/config.py              |  4 +++
 elbepack/init/default-init.xml  | 10 ++++++
 elbepack/init/init-elbe.sh.mako | 26 +++++++++++++++
 elbepack/initvmaction.py        | 56 ++++++++++++++++-----------------
 4 files changed, 68 insertions(+), 28 deletions(-)

-- 
2.26.2




More information about the elbe-devel mailing list