From 383eb72a6f4280caa13db7baf20109c508fb2e5f Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Tue, 29 Jan 2019 22:19:45 -0800 Subject: [PATCH] service: Don't shutdown the VM when agent terminates The semantic around the agent is that it should be a passive component, hence it should not implicitly shut down the VM. Instead, we expect the kata-runtime to be responsible for this, using the appropriate VM interface to stop it. Fixes #449 Signed-off-by: Sebastien Boeuf --- kata-agent.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kata-agent.service.in b/kata-agent.service.in index 861757d029..25d3b274e8 100644 --- a/kata-agent.service.in +++ b/kata-agent.service.in @@ -10,5 +10,4 @@ StandardOutput=tty Type=simple ExecStart=@bindir@/@kata-agent@ LimitNOFILE=infinity -ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff -FailureAction=poweroff +ExecStop=/bin/sync