From 6eb539b463b6683c205ede97f6b77801502b9a1b Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Fri, 4 Aug 2023 19:20:49 +0200 Subject: [PATCH] automatic network map creation --- .gitignore | 1 + Makefile | 3 +++ map.md | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 map.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..023ce00 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +map.txt diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..08af478 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +output: map.txt +map.txt: map.md + cat map.md | graph-easy --boxart > map.txt diff --git a/map.md b/map.md new file mode 100644 index 0000000..2e8c907 --- /dev/null +++ b/map.md @@ -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) ] +