Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F49507212
add_user_root.sh.jinja
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
414 B
Referenced Files
None
Subscribers
None
add_user_root.sh.jinja
View Options
#!/bin/sh
# RabbitMQ startup needs a dozen of seconds
sleep 20
docker exec
{{
instance
}}
rabbitmqctl delete_user guest
docker exec
{{
instance
}}
rabbitmqctl add_user root
{{
password
|
yaml_squote
}}
docker exec
{{
instance
}}
rabbitmqctl set_user_tags root administrator
docker exec
{{
instance
}}
rabbitmqctl set_permissions --vhost / root '.*' '.*' '.*'
touch /srv/rabbitmq/
{{
instance
}}
/.auth-configured
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Sep 14, 16:09 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3978486
Default Alt Text
add_user_root.sh.jinja (414 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment