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

User:BryanDavis/OpenStack

From Wikitech-static
< User:BryanDavis
Revision as of 18:02, 3 September 2020 by imported>BryanDavis (Start tracking some handy OpenStack commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
join.sh
#!/usr/bin/env bash
set -euo pipefail
PROJECT=${1:?Project name required}
sudo wmcs-openstack role add --user bd808 --project $1 user
sudo wmcs-openstack role add --user bd808 --project $1 projectadmin
part.sh
#!/usr/bin/env bash
set -euo pipefail
PROJECT=${1:?Project name required}
sudo wmcs-openstack role remove --user bd808 --project $1 projectadmin
sudo wmcs-openstack role remove --user bd808 --project $1 user