mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 19:20:10 +00:00
make finalize not uses nohup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a844845c4f
commit
8e8c89f50a
17
Makefile
17
Makefile
@ -93,11 +93,24 @@ bootstrap-clean: host-bootstrap-clean
|
|||||||
|
|
||||||
|
|
||||||
# Finalize: reconect admin port/bridge correctly...
|
# Finalize: reconect admin port/bridge correctly...
|
||||||
.PHONY: finalize
|
.PHONY: _finalize
|
||||||
finalize: bootstrap-clean gate-bootstrap-clean
|
_finalize: bootstrap-clean gate-bootstrap-clean
|
||||||
make host-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...
|
# Shorthands...
|
||||||
|
|||||||
@ -173,6 +173,8 @@ To finalize the setup run:
|
|||||||
make finalize
|
make finalize
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that this will break the ssh connection.
|
||||||
|
|
||||||
This will
|
This will
|
||||||
- detach the host from any external ports and make it accessible only
|
- detach the host from any external ports and make it accessible only
|
||||||
from the internal network.
|
from the internal network.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user