Vagrant: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
=Grundlegendes=
 +
*[[Was ist Vagrant?]]
 +
 
=install=
 
=install=
*[https://wiki.archlinux.org/index.php/Vagrant vagrant-arch-install]
 
 
*[[vagrant-ubuntu-install]]
 
*[[vagrant-ubuntu-install]]
 
+
*[[vagrant-libivrt]]
=systems=
+
*[[vagrant-virtualbox]]
*[https://coreos.com/docs/running-coreos/platforms/vagrant/ coreos]
+
*[[vagrant-image-erstellen]]
*[https://coreos.com/blog/coreos-clustering-with-vagrant/ coreos-cluster]
+
*[[vagrant-box-publish]]
 
 
 
 
=setting a 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>
 
 
 
*eval `ssh-agent -s`
 
*ssh-add
 
*ssh-add ~/.vagrant.d/insecure_private_key
 
 
 
=links=
 
*http://www.lucainvernizzi.net/blog/2014/12/03/vagrant-and-libvirt-kvm-qemu-setting-up-boxes-the-easy-way/
 

Aktuelle Version vom 7. April 2022, 09:22 Uhr