Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
c1743fa4f561c97e1f67417486b62bdd8e54bb7d
/
.
/
tools
/
dreport.d
/
plugins.d
/
hostnamectl
blob: 18799cfb13b0b7009bd1b7f2084808c7a0e7791b [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 123 5
# @brief: Collect current hostname settings.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"hostnamectl"
file_name
=
"hostnamectl.log"
command
=
"hostnamectl status"
add_cmd_output
"$command"
"$file_name"
"$desc"