make finalize not uses nohup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-10-21 18:11:02 +03:00
parent a844845c4f
commit 8e8c89f50a
2 changed files with 17 additions and 2 deletions

View File

@ -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 <user>@<WAN_SSH_IP>
### from there:
### $ ssh root@pve
###
nohup make _finalize & tail -f nohup.out
#----------------------------------------------------------------------
# Shorthands...

View File

@ -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.