projects
/
pxelator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
bin/hosts.sh
@@ -0,0
+1
@@
+grep . /srv/pxelator/conf/ip/*/hostname | cut -d/ -f6- | sed 's,/.*:,\t,'