diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-07-17 23:10:25 +0000 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-01 21:20:21 +0200 |
commit | edcc8b696d9b249f2514c0322db90315465155c6 (patch) | |
tree | 0c91effced8beb7eb9a525ebc4e8d5363bc17df6 /mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/opendaylight/control.yml | |
parent | b0370b31d3649893d57b1729979b1124a47a6f05 (diff) |
ci/deploy.sh: Allow non-root deploys
Currently, deploying Fuel@OPNFV requires the `ci/deploy.sh` to be ran
as root user, for:
- hypervisor access (virsh);
- installing prerequisite packages;
We can support non-root deploys if we relax above restriction into:
- current user should have hypervisor access beforehand
(new check added);
- current user has passwordless sudo rights, for installing packages;
Later, we should move the package installation out of the deploy
script (`ci/deploy.sh`), making the whole deploy possible without
sudo, only hypervisor access.
After this change, the old way (sudo ci/deploy.sh) should work just
like it used to before, so no regression/behavior change should be
introduced with this.
Change-Id: Ib2ea96aa7b6d67ba0606318407a8adeb51e6969d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-odl/opendaylight/control.yml')
0 files changed, 0 insertions, 0 deletions