Add sudoers entry for tripleo-container-image-prepare

This is required for the mistral user to call this script, which is
needed by change I2bd53ac64d6ae7a5bb536fa82b1c70a73d883ba8

Change-Id: Ic1648e43f45bb7604d4c0f9abf247a475fb23707
Blueprint: container-prepare-workflow
This commit is contained in:
Steve Baker 2018-08-02 11:23:26 +12:00
parent 2dcf24e060
commit e11e9b9870

View File

@ -10,4 +10,5 @@ mistral ALL = NOPASSWD: /bin/nova-manage cell_v2 discover_hosts *
mistral ALL = NOPASSWD: /usr/bin/tar --xattrs --ignore-failed-read -C / -cf /var/tmp/undercloud-backup-*.tar *
mistral ALL = NOPASSWD: /usr/bin/chown mistral. /var/tmp/undercloud-backup-*/filesystem-*.tar
mistral ALL = NOPASSWD: /usr/bin/yum -y install octavia-amphora-image
mistral ALL = NOPASSWD: /usr/bin/tripleo-container-image-prepare *
validations ALL = NOPASSWD: ALL