test/system: quadlet use correct systemd restart policy

Systemd doesn't support `never` and logs a warning, systemd uses no as
default so we do not have to specify it at all.

Check systemd.service(5) for the systemd docs.

Fixes #18743

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2023-05-31 18:41:06 +02:00
parent af5b1d6e80
commit 4173f942f1
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
1 changed files with 0 additions and 4 deletions

View File

@ -668,10 +668,6 @@ EOF
[Kube] [Kube]
Yaml=$yaml_file Yaml=$yaml_file
ExitCodePropagation=$exit_code_prop ExitCodePropagation=$exit_code_prop
# Never restart the service as we only want to test exit codes.
[Service]
Restart=never
EOF EOF
run_quadlet "$quadlet_file" run_quadlet "$quadlet_file"