Skip to content

Instantly share code, notes, and snippets.

View sirkazey's full-sized avatar

Alexandre sirkazey

View GitHub Profile
### DML ###
# Keyspace Name
keyspace: stresscql
# The CQL for creating a keyspace (optional if it already exists)
keyspace_definition: |
CREATE KEYSPACE stresscql WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
# Table name
@sirkazey
sirkazey / gist:f838e778eec7a4f967bd
Last active August 29, 2015 14:17 — forked from smoser/gist:4756561
Adaptation for Ubuntu 14.04
## Install a necessary packages
sudo apt-get install kvm cloud-utils genisoimage
## URL to most recent cloud image of 14.04
img_url="http://cloud-images.ubuntu.com/server/releases/14.04/release"
img_url="${img_url}/ubuntu-14.04-server-cloudimg-amd64-disk1.img"
## download the image
wget $img_url -O disk.img.dist
## Create a file with some user-data in it