From 8e8c89f50a1b13dbd660c44a7e9886f9617210ea Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 21 Oct 2024 18:11:02 +0300 Subject: [PATCH] make finalize not uses nohup... Signed-off-by: Alex A. Naanou --- Makefile | 17 +++++++++++++++-- README.md | 2 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 33dbd0e..0ad7ab6 100644 --- a/Makefile +++ b/Makefile @@ -93,11 +93,24 @@ bootstrap-clean: host-bootstrap-clean # Finalize: reconect admin port/bridge correctly... -.PHONY: finalize -finalize: bootstrap-clean gate-bootstrap-clean +.PHONY: _finalize +_finalize: bootstrap-clean gate-bootstrap-clean make host-bootstrap-clean +.PHONY: finalize +finalize: + ### + ### This will break the connection to the server, to continue: + ### - Detach the ADMIN port, + ### - Connect the WAN port, + ### - $ ssh @ + ### from there: + ### $ ssh root@pve + ### + nohup make _finalize & tail -f nohup.out + + #---------------------------------------------------------------------- # Shorthands... diff --git a/README.md b/README.md index cd501d9..ae42438 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,8 @@ To finalize the setup run: make finalize ``` +Note that this will break the ssh connection. + This will - detach the host from any external ports and make it accessible only from the internal network.