You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

User:BryanDavis/OpenStack

From Wikitech-static
Jump to navigation Jump to search
join.sh
#!/usr/bin/env bash
set -euo pipefail
PROJECT=${1:?Project name required}
USER=${2:-bd808}
sudo wmcs-openstack role add --user "$USER" --project "$PROJECT" user
sudo wmcs-openstack role add --user "$USER" --project "$PROJECT" projectadmin
part.sh
#!/usr/bin/env bash
set -euo pipefail
PROJECT=${1:?Project name required}
USER=${2:-bd808}
sudo wmcs-openstack role remove --user "$USER" --project "$PROJECT" projectadmin
sudo wmcs-openstack role remove --user "$USER" --project "$PROJECT" user