Hi folks
I want to expand the filesystem at boot with a systemd-unit and “growpart” and “xfs_growfs”. For this it need a anchor point at boot with fully initialized disk and all mounted disks. Does anyone know how “Before” and/or “After” need to be write to call such tools?
The following doesn’t work:
variant: fcos
version: 1.0.0
systemd:
units:
- name: extend-filesystems.service
enabled: true
contents: |
[Unit]
Description=Extend Filesystems
After=ignition-files.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/local/bin/extend-data-filesystems
StandardOutput=journal+console