Vagrant: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
  
  
 +
=setting a cluster=
 
*curl https://discovery.etcd.io/new?size=3
 
*curl https://discovery.etcd.io/new?size=3
  
Zeile 19: Zeile 20:
 
*ssh-add
 
*ssh-add
 
*ssh-add ~/.vagrant.d/insecure_private_key
 
*ssh-add ~/.vagrant.d/insecure_private_key
 
  
 
=links=
 
=links=
 
*http://www.lucainvernizzi.net/blog/2014/12/03/vagrant-and-libvirt-kvm-qemu-setting-up-boxes-the-easy-way/
 
*http://www.lucainvernizzi.net/blog/2014/12/03/vagrant-and-libvirt-kvm-qemu-setting-up-boxes-the-easy-way/

Version vom 20. April 2015, 15:35 Uhr

install

systems


setting a cluster

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>
  • eval `ssh-agent -s`
  • ssh-add
  • ssh-add ~/.vagrant.d/insecure_private_key

links