You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3 lines
555 B
3 lines
555 B
[Service]
|
|
# If the config file has been injected into the qcow2 image in /var/lib/private, move it to the right place
|
|
ExecStartPre=/bin/bash -Eeuo pipefail -c 'if [ -f /var/lib/private/flightctl/config.yaml -a ! -f /etc/flightctl/config.yaml ]; then mv /var/lib/private/flightctl/config.yaml /etc/flightctl/config.yaml; restorecon -RF /etc/flightctl/config.yaml; fi; if [ -f /var/lib/private/flightctl/auth.json -a ! -f /etc/ostree/auth.json ]; then mv /var/lib/private/flightctl/auth.json /etc/ostree/auth.json; restorecon -RF /etc/ostree/auth.json; fi'
|
|
|