generate ip tab hostname file from conf/
[pxelator] / bin / hosts.sh
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,'