Vagrant: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 6: Zeile 6:
 
*[https://coreos.com/docs/running-coreos/platforms/vagrant/ coreos]
 
*[https://coreos.com/docs/running-coreos/platforms/vagrant/ coreos]
 
*[https://coreos.com/blog/coreos-clustering-with-vagrant/ coreos-cluster]
 
*[https://coreos.com/blog/coreos-clustering-with-vagrant/ coreos-cluster]
 +
 +
 +
*curl https://discovery.etcd.io/new?size=3
 +
 +
After running this command you will get out a new private discovery URL that looks something like https://discovery.etcd.io/<token>. Take this token and put it in the relevant section of the user-data file using your favorite text editor. When you are done the top of the user-data file should look like this:
 +
#cloud-config
 +
coreos:
 +
  etcd:
 +
    discovery: https://discovery.etcd.io/<token>
 +
  
  

Version vom 20. April 2015, 15:17 Uhr

install

systems


After running this command you will get out a new private discovery URL that looks something like https://discovery.etcd.io/<token>. Take this token and put it in the relevant section of the user-data file using your favorite text editor. When you are done the top of the user-data file should look like this:

#cloud-config
coreos:
 etcd:
   discovery: https://discovery.etcd.io/<token>



links