writefile

command
v0.0.0-...-a233f61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

README

quay.io/tinkerbell/actions/writefile:latest

This action will mount a block device and write a file to a destination path on it's filesystem.

The below example will write a file to the filesystem on the block device /dev/sda3.

actions:
- name: "expand ubuntu filesystem to root"
  image: quay.io/tinkerbell/actions/writefile:latest
  timeout: 90
  environment:
      DEST_DISK: /dev/sda3
      FS_TYPE: ext4
      DEST_PATH: /etc/myconfig/foo
      CONTENTS: hello-world
      UID: 0
      GID: 0
      MODE: 0600
      DIRMODE: 0700

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL