constellation/image/initrd/mkosi.skeleton/usr/lib/systemd/system/gcp-nvme-disk.service

19 lines
408 B
SYSTEMD
Raw Normal View History

2023-09-11 09:52:05 -04:00
[Unit]
Description=Force symlink creation for GCP nvme disks
Before=prepare-state-disk.service
After=network-online.target
Wants=network-online.target
ConditionKernelCommandLine=constel.csp=gcp
[Service]
Type=oneshot
ExecStart=/bin/bash /usr/sbin/gcp-nvme-disk
RemainAfterExit=yes
StandardOutput=tty
StandardInput=tty
StandardError=tty
TimeoutSec=infinity
[Install]
WantedBy=basic.target multi-user.target