generate ip tab hostname file from conf/
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 29 Jan 2015 14:46:43 +0000 (15:46 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 29 Jan 2015 14:46:43 +0000 (15:46 +0100)
bin/hosts.sh [new file with mode: 0755]

diff --git a/bin/hosts.sh b/bin/hosts.sh
new file mode 100755 (executable)
index 0000000..32c0c18
--- /dev/null
@@ -0,0 +1 @@
+grep . /srv/pxelator/conf/ip/*/hostname | cut -d/ -f6- | sed 's,/.*:,\t,'