mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-15 10:54:29 -05:00
19 lines
408 B
SYSTEMD
19 lines
408 B
SYSTEMD
|
[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
|