package
0.0.0-20240905033552-c50090bf3da5
Repository: https://github.com/tinkerbell/actions.git
Documentation: pkg.go.dev
# 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