This content is associated with a legacy version of the Replicated product. For the current Replicated product documentation, see docs.replicated.com.
os.hostname
type object
Get the hostname
collect:
v1:
- os.hostname:
output_dir: /system/hostname
Outputs
stderr
- The stdout from the commandstdout
- The stdin from the command
Shared Parameters
This spec also inherits all of the required and optional Shared Parameters