Compare commits
2 Commits
124954b34d
...
020edd51be
| Author | SHA1 | Date | |
|---|---|---|---|
| 020edd51be | |||
| 13177dacd3 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
||||
*~* # - Ignore temp vim files
|
||||
*~
|
||||
~*
|
||||
|
||||
9
bash/ip_fetch/mk_ip-hostname_table.sh
Executable file
9
bash/ip_fetch/mk_ip-hostname_table.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
prefix="hosting_"
|
||||
postfix="_vm"
|
||||
|
||||
for var in $(cat ../../memlist)
|
||||
do
|
||||
echo $var:$(virsh domifaddr $prefix$var$postfix --full --source arp | awk '/192.168.0./ {print $4}' | cut -d "/" -f 1)
|
||||
done
|
||||
Reference in New Issue
Block a user