os.read-file

Read a file or a directory from the filesystem

This content is associated with a legacy version of the Replicated product. For the current Replicated product docs, click here.

os.read-file

type object

Read a file or a directory from the filesystem

collect:
  v1:
    - os.read-file:
        output_dir: /files/etc/bigtool-conf
        filepath: /etc/bigtool.conf

Required Parameters

  • filepath - The file path on the host. If running Support Bundle via docker, this will work, but symlinks are not supported

Outputs

  • bigtool.conf - The file contents