Gracefully stop the remote-installer container 65/3565/3
authorAlexandru Antone <Alexandru.Antone@enea.com>
Thu, 11 Jun 2020 13:52:48 +0000 (16:52 +0300)
committerAlexandru Antone <Alexandru.Antone@enea.com>
Thu, 11 Jun 2020 14:23:34 +0000 (17:23 +0300)
commit6ca12719612476bf0d40e10aa977eaf9176a1421
treebd5d652b6b84d44a9734c5903a04c447b5536289
parent95aab7d30e1a8a154dfadef70094180ce0835404
Gracefully stop the remote-installer container

Force killing the container with 'rm -f' bypasses the SIGTERM handler
defined in the container's entry point shell script which would
gracefully stop the nfs-server before exiting.

This leaves TCP port 2049 bound on some hosts and subsequent runs of
the remote-installer will fail to properly start NFS shares.

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Change-Id: I56d77ffabdb901504193c5e5d6b7d0f73d52488d
jjb/shell/ta-install.sh