Update ww4-disks.target.ww

Fixed Prequisite to Requisite
This commit is contained in:
Andreas Henkel
2024-01-29 19:42:34 +01:00
committed by GitHub
parent adad227cb0
commit 6221e780e6

View File

@@ -7,7 +7,7 @@ Description=mount ww4 disks
# make sure that the disks are available
Requires=ignition-ww4-disks.service
After=ignition-ww4-disks.service
Prequisite=ignition-ww4-disks.service
Requisite=ignition-ww4-disks.service
# Get the mounts
{{- range $fsdevice,$fs := .FileSystems }}
{{- $prefix := $fsdevice }}{{ $suffix := "mount" }}
@@ -17,4 +17,4 @@ Prequisite=ignition-ww4-disks.service
{{- if $fs.Path }}{{ $prefix = tr $fs.Path "/" "" }}{{ end }}
{{- end }}
Wants={{ print $prefix "." $suffix }}
{{- end }}
{{- end }}