Skip to content

Instantly share code, notes, and snippets.

@dkavanagh
Created September 16, 2015 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkavanagh/1d427f75dc862d162035 to your computer and use it in GitHub Desktop.
Save dkavanagh/1d427f75dc862d162035 to your computer and use it in GitHub Desktop.
cloud init script for setting up a request generator against eucaconsole. Note: modify the endpoint on line 13
#cloud-config
# vim: syntax=yaml
#
# This config installs the eucalyptus and epel repos, then installs and
# configures the eucaconsole package
runcmd:
- [ yum, -y, install, wget, python-pip ]
- [ pip, install, requests, cachecontrol, beautifulsoup4 ]
- [ pip, install, --upgrade, urllib3, requests ]
- [ wget, "https://raw.githubusercontent.com/eucalyptus/eucaconsole/master/tests/reqgenerator/reqgenerator.py" ]
- [ chmod, 555, reqgenerator.py ]
- [ python, reqgenerator.py, "https://console-elb-too-000143084910.lb.a-09.autoqa.qa1.eucalyptus-systems.com/", 100, 9999 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment