download_mirror.sh needs sudo to run some commands
If download_mirror.sh is not run by root or under sudo,
and if -n was omitted, then chown and some rm commands
performed internally by download_mirror.sh will need sudo.
The non-root user would need to be permitted to use those
commands in sudoers.
Partial-Bug: 1884944
Change-Id: I93d4569bae23a5601dc2a37f03b1f1dde0fcc6a5
Signed-off-by: Scott Little <email address hidden>
(cherry picked from commit 29d71c1559866eb7cb36d201987461657a9a9418)
Signed-off-by: Davlet Panech <email address hidden>
Reviewed: https:/ /review. opendev. org/739721 /git.openstack. org/cgit/ starlingx/ tools/commit/ ?id=dd9bb4313cf 4dda365debce2be 63c74813672b4b
Committed: https:/
Submitter: Zuul
Branch: r/stx.3.0
commit dd9bb4313cf4dda 365debce2be63c7 4813672b4b
Author: Davlet Panech <email address hidden>
Date: Mon Jul 6 23:01:02 2020 +0000
download_ mirror. sh needs sudo to run some commands
If download_mirror.sh is not run by root or under sudo,
and if -n was omitted, then chown and some rm commands
performed internally by download_mirror.sh will need sudo.
The non-root user would need to be permitted to use those
commands in sudoers.
Partial-Bug: 1884944 601dc2a37f03b1f 1dde0fcc6a5 7cb36d201987461 657a9a9418)
Change-Id: I93d4569bae23a5
Signed-off-by: Scott Little <email address hidden>
(cherry picked from commit 29d71c1559866eb
Signed-off-by: Davlet Panech <email address hidden>