From 48ff4a67e7f5fcb5ae6f70970ad086ef8f1b548a Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Thu, 8 Sep 2016 15:51:09 -0700 Subject: [PATCH] Update launch.md --- Documentation/launch.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/launch.md b/Documentation/launch.md index f0a95dee7..c4dadc2f4 100644 --- a/Documentation/launch.md +++ b/Documentation/launch.md @@ -1,8 +1,10 @@ # Running castled 1. Copy your `castled` binary to one or more CoreOS machines 2. Generate a discovery token - `token_size=3` - `discovery_token=$(curl -w "\n" 'https://discovery.etcd.io/new?size=$token_size' 2>nil)` - `echo $discovery_token` +``` +token_size=3 +discovery_token=$(curl -w "\n" 'https://discovery.etcd.io/new?size=$token_size' 2>nil) +echo $discovery_token +``` 3. Start the castled process on each machine. Don't forget to set or replace your $discovery_token variable `./castled --discovery-url=$discovery_token --private-ipv4=${COREOS_PRIVATE_IPV4} --devices=sdb,sdc,sdd --force-format=true`