[DRE-commits] [vagrant-libvirt] 03/104: File example_box/Vagrantfile added.

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Apr 24 13:55:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag 0.0.11
in repository vagrant-libvirt.

commit 2b29299e9cd9affbd8714916035926a12856130d
Author: pradels <les.pradels at gmail.com>
Date:   Wed Mar 27 12:17:35 2013 +0100

    File example_box/Vagrantfile added.
---
 .gitignore              |  1 +
 example_box/Vagrantfile | 45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/.gitignore b/.gitignore
index d036c0f..da7b2bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,4 +16,5 @@ test/tmp
 test/version_tmp
 tmp
 Vagrantfile
+!example_box/Vagrantfile
 .vagrant
diff --git a/example_box/Vagrantfile b/example_box/Vagrantfile
new file mode 100644
index 0000000..b7ac7ce
--- /dev/null
+++ b/example_box/Vagrantfile
@@ -0,0 +1,45 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+
+  # Example configuration of new VM..
+  # 
+  #config.vm.define :test_vm do |test_vm|
+    # Box name
+    #test_vm.vm.box = "centos64"
+
+    # Interfaces for VM
+    # 
+    # Hostonly network is not supported in this version of provider. Bridged
+    # interface with network id specified can be created.
+    #test_vm.vm.network :bridged, :bridge => "default", :adapter => 1
+  #end
+
+  # Options for libvirt vagrant provider.
+  config.vm.provider :libvirt do |libvirt|
+
+    # A hypervisor name to access. Different drivers can be specified, but
+    # this version of provider creates KVM machines only. Some examples of
+    # drivers are qemu (KVM/qemu), xen (Xen hypervisor), lxc (Linux Containers),
+    # esx (VMware ESX), vmwarews (VMware Workstation) and more. Refer to
+    # documentation for available drivers (http://libvirt.org/drivers.html).
+    libvirt.driver = "qemu"
+
+    # The name of the server, where libvirtd is running.
+    libvirt.host = "localhost"
+
+    # If use ssh tunnel to connect to Libvirt.
+    libvirt.connect_via_ssh = false
+
+    # The username and password to access Libvirt. Password is not used when
+    # connecting via ssh.
+    libvirt.username = "root"
+    #libvirt.password = "secret"
+
+    # Libvirt storage pool name, where box image and instance snapshots will
+    # be stored.
+    libvirt.storage_pool_name = "default"
+  end
+end
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-libvirt.git



More information about the Pkg-ruby-extras-commits mailing list