[elbe-devel] [RFC PATCH 0/5] rsync git checkout into initvm
Torben Hohn
torben.hohn at linutronix.de
Fri May 8 12:16:39 CEST 2020
On Tue, May 05, 2020 at 04:02:46PM -0400, Olivier Dion wrote:
> 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.
we dont need the rsync port.
Anyways... please add finetuning support for the initvm.
(We dont need many features, <command> and <file> should
be enough.)
you can do that in:
elbepack/init/init-elbe.sh.mako
or implement: "elbe run_initvm_finetuning source.xml"
And then create a special initvm-ssh-root-open-danger.xml
Which opens the ssh port and root login.
>
> 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
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list