mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-27 05:42:14 +00:00
Compare commits
No commits in common. "a770ab7ef4a3fdddb9f19f0dbd3ef42b82269a0a" and "e4ab44a8569fb1bcbdf28847dba6eb678b135d55" have entirely different histories.
a770ab7ef4
...
e4ab44a856
2
Makefile
2
Makefile
@ -139,13 +139,11 @@ clean:
|
|||||||
*/traefik \
|
*/traefik \
|
||||||
*/config.last-run
|
*/config.last-run
|
||||||
|
|
||||||
|
|
||||||
.PHONY: clean-interfaces
|
.PHONY: clean-interfaces
|
||||||
clean-interfaces: /etc/network/interfaces.orig
|
clean-interfaces: /etc/network/interfaces.orig
|
||||||
# NOTE: this may need 'ifreload -a' to take effect...
|
# NOTE: this may need 'ifreload -a' to take effect...
|
||||||
cp "$<" "$(subst .orig,,$<)"
|
cp "$<" "$(subst .orig,,$<)"
|
||||||
|
|
||||||
|
|
||||||
.PHONY: clean-all
|
.PHONY: clean-all
|
||||||
clean-all: clean
|
clean-all: clean
|
||||||
-rm -rf \
|
-rm -rf \
|
||||||
|
|||||||
111
README.md
111
README.md
@ -182,11 +182,8 @@ At this point WAN interface exposes two IPs:
|
|||||||
- ssh:22
|
- ssh:22
|
||||||
|
|
||||||
The Proxmox administrative interface is available behind the
|
The Proxmox administrative interface is available behind the
|
||||||
[Wireguard](https://www.wireguard.com/) proxy on the WAN port or directly
|
[Wireguard](https://www.wireguard.com/) proxy or on the ADMIN port, both
|
||||||
on the ADMIN port, both on https://10.0.0.254:8006.
|
on https://10.0.0.254:8006.
|
||||||
|
|
||||||
At this point, it is recommended to check both the fail-safe `ssh`
|
|
||||||
connection now and the Wireguard access.
|
|
||||||
|
|
||||||
Additional administrative tasks can be performed now if needed.
|
Additional administrative tasks can be performed now if needed.
|
||||||
|
|
||||||
@ -494,107 +491,3 @@ proxmox-utils/
|
|||||||
+- config.global
|
+- config.global
|
||||||
+- config.global.example
|
+- config.global.example
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Recovery and Troubleshooting
|
|
||||||
|
|
||||||
- Configuration or bridge failure while bootstrapping
|
|
||||||
|
|
||||||
Remove all the CT's that were created by make:
|
|
||||||
```shell
|
|
||||||
pct destroy ID
|
|
||||||
```
|
|
||||||
|
|
||||||
Cleanup the interfaces:
|
|
||||||
```shell
|
|
||||||
make clean-interfaces
|
|
||||||
```
|
|
||||||
|
|
||||||
Revise configuration if `./config.global`
|
|
||||||
|
|
||||||
Cleanup CT cached configuration:
|
|
||||||
```shell
|
|
||||||
make clean
|
|
||||||
```
|
|
||||||
|
|
||||||
Rebuild the bridges:
|
|
||||||
```shell
|
|
||||||
make host-bootstrap
|
|
||||||
```
|
|
||||||
And select (type "y") "Create bridges" while rejecting all other sections.
|
|
||||||
|
|
||||||
Or, do a full rebuild selecting/rejecting the appropriate sections:
|
|
||||||
```shell
|
|
||||||
make bootstrap
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
- Failure while creating the `gate` CT
|
|
||||||
|
|
||||||
Check if the bridges are correct, and check if the host as internet access.
|
|
||||||
|
|
||||||
Remove the `gate` CT (replacing 110 if you created it with a different ID):
|
|
||||||
```shell
|
|
||||||
pct destroy 110
|
|
||||||
```
|
|
||||||
|
|
||||||
Build the bootstrapped gate:
|
|
||||||
```shell
|
|
||||||
make gate-bootstrap
|
|
||||||
```
|
|
||||||
|
|
||||||
Check if gate is accesable and if it has internet access.
|
|
||||||
|
|
||||||
Then create the base CT's:
|
|
||||||
```shell
|
|
||||||
make ns ssh wireguard
|
|
||||||
```
|
|
||||||
|
|
||||||
finally cleanup:
|
|
||||||
```shell
|
|
||||||
make bootstrap-clean
|
|
||||||
```
|
|
||||||
|
|
||||||
now the setup can be finalized (see: [Setup](#setup))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- Failure while creating other CT's
|
|
||||||
|
|
||||||
Check if gate is accesable and if it has internet access, if it is not
|
|
||||||
then this will fail, check or rebuild the gate.
|
|
||||||
|
|
||||||
Simply remove the CT
|
|
||||||
```shell
|
|
||||||
pct destroy ID
|
|
||||||
```
|
|
||||||
|
|
||||||
Then rebuild it:
|
|
||||||
```shell
|
|
||||||
make CT_NAME
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- Full clean rebuild
|
|
||||||
|
|
||||||
Remove any of the base CT's:
|
|
||||||
```shell
|
|
||||||
pct destroy ID
|
|
||||||
```
|
|
||||||
|
|
||||||
Restore bridge configuration:
|
|
||||||
```shell
|
|
||||||
make clean-interfaces
|
|
||||||
```
|
|
||||||
|
|
||||||
Cleanup the configuration data:
|
|
||||||
```shell
|
|
||||||
make clean-all
|
|
||||||
```
|
|
||||||
|
|
||||||
Follow the instructions in [Setup](#setup)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user