automatic network map creation

This commit is contained in:
Malin Freeborn 2023-08-04 19:20:49 +02:00
parent a19f383672
commit 6eb539b463
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
map.txt

3
Makefile Normal file
View File

@ -0,0 +1,3 @@
output: map.txt
map.txt: map.md
cat map.md | graph-easy --boxart > map.txt

7
map.md Normal file
View File

@ -0,0 +1,7 @@
### Network Map Generator ###
# Used with graph-easy.
# Install graph easy with `apt install perl-graph-easy`.
[ gateway ] -- ssh-2222 --> [ gitea11 (192.168.1.36) ]
[ gateway ] --> [ ssh11 (192.168.1.20) ]