Initial commit for infra daily scripts
We added a script fbsdinfo2csv.sh that should be run as root which prints a CSV output with the following format name,type,hostname,freebsd-version,ipaddr
This commit is contained in:
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Daily Scripts
|
||||
|
||||
## fbsdinfo2csv.sh
|
||||
this script will generate a csv file from the host and its jails.
|
||||
|
||||
The output looks like this
|
||||
|
||||
```csv
|
||||
name,type,hostname,freebsd-version,ipaddr
|
||||
dev3.bts.djb0,host,dev3.bts.djb0,12.3-RELEASE,10.35.0.203
|
||||
jail10,jail,jail0,jail10.dev3.bts.djb0,12.2-RELEASE,10.35.0.200
|
||||
```
|
||||
Reference in New Issue
Block a user