Skip to content

Instantly share code, notes, and snippets.

@bakins bakins/error.sh
Created Apr 27, 2015

Embed
What would you like to do?
#!/bin/sh
cd /tmp
curl -L -O https://github.com/coreos/rkt/releases/download/v0.5.4/rkt-v0.5.4.tar.gz
tar -zxvf rkt-v0.5.4.tar.gz
cd rkt-v0.5.4
echo yes | ./rkt trust --prefix coreos.com/etcd
./rkt fetch coreos.com/etcd:v2.0.4
cat <<EOF > etcd.json
{
"acVersion": "0.5.1",
"acKind": "PodManifest",
"apps": [
{
"name": "coreos.com/etcd",
"image": {
"name": "etcd",
"id": "sha512-1eba37d9b344b33d272181e176da111ef2fdd4958b88ba4071e56db9ac07cf62"
},
"app": {
"exec": [
"/etcd"
],
"group": "0",
"user": "0"
}
}
]
}
EOF
./rkt -debug run -pod-manifest=./etcd.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.