[maas] Fix permissions on (partial) redeploy 23/67823/1 opnfv-8.0.0
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 21 Feb 2019 17:06:42 +0000 (18:06 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 10 May 2019 16:33:21 +0000 (16:33 +0000)
commit4e64c8495d8cddab653e7b6f8db1d4335755d4c9
tree369480cdb59583eb8709337d403dee6da384e94e
parent6d37926e32dcd89ef999cedf9adcb13cbf717964
[maas] Fix permissions on (partial) redeploy

When redeploying a cluster only (keeping the infrastructure containers
from a previous deploy), some things need to be adjusted:
- /entrypoint.sh exec permission;
- /etc/maas uid/gid re-align on new (fresh) deploy;
- account for different location of /usr/sbin/tcpdump apparmor profile
  for CentOS jumpservers;

Change-Id: If51db0bc95eff1a497e1df5d457e26a7b902aa5a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 60bf21d6aedda367c3e017cd74ea8cf602f1fdef)
mcp/scripts/docker-compose/files/entrypoint_maas.sh.j2
mcp/scripts/lib_jump_deploy.sh