mirror of
https://github.com/containers/podman.git
synced 2025-12-09 15:19:35 +08:00
podman-play-kube template: rename to podman-kube
With the upcoming plans of introducing a podman-kube command with various subcommands, rename the podman-play-kube systemd template to podman-kube before releasing it. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@@ -295,12 +295,12 @@ LISTEN_FDNAMES=listen_fdnames" | sort)
|
||||
run_podman network rm -f $netname
|
||||
}
|
||||
|
||||
@test "podman-play-kube@.service template" {
|
||||
@test "podman-kube@.service template" {
|
||||
skip_if_remote "systemd units do not work with remote clients"
|
||||
|
||||
# If running from a podman source directory, build and use the source
|
||||
# version of the play-kube-@ unit file
|
||||
unit_name="podman-play-kube@.service"
|
||||
unit_name="podman-kube@.service"
|
||||
unit_file="contrib/systemd/system/${unit_name}"
|
||||
if [[ -e ${unit_file}.in ]]; then
|
||||
echo "# [Building & using $unit_name from source]" >&3
|
||||
@@ -329,7 +329,7 @@ spec:
|
||||
EOF
|
||||
|
||||
# Dispatch the YAML file
|
||||
service_name="podman-play-kube@$(systemd-escape $yaml_source).service"
|
||||
service_name="podman-kube@$(systemd-escape $yaml_source).service"
|
||||
systemctl start $service_name
|
||||
systemctl is-active $service_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user