The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/988

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
* uses 14.04 official image
* sets up the dependencies required to compile lxc
* shares the local development directory from host to /home/vagrant/lxc

Signed-off-by: Akshay Karle <akshay.a.ka...@gmail.com>
From 0fef097b994f83d5aac5c41d7166f3cae4142474 Mon Sep 17 00:00:00 2001
From: Akshay Karle <akshay.a.ka...@gmail.com>
Date: Mon, 25 Apr 2016 11:04:34 -0300
Subject: [PATCH] add vagrant for lxc

* uses 14.04 official image
* sets up the dependencies required to compile lxc
* shares the local development directory from host to /home/vagrant/lxc

Signed-off-by: Akshay Karle <akshay.a.ka...@gmail.com>
---
 .gitignore  |  2 ++
 Vagrantfile | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 Vagrantfile

diff --git a/.gitignore b/.gitignore
index adc965e..3717e5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -145,3 +145,5 @@ TAGS
 
 doc/api/doxygen_sqlite3.db
 doc/api/*.tmp
+
+.vagrant
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 0000000..0bdee0d
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,15 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure(2) do |config|
+  config.vm.box = "ubuntu/trusty64"
+
+  config.vm.synced_folder ".", "/home/vagrant/lxc"
+
+  config.vm.provision "shell", inline: <<-SHELL
+    sudo add-apt-repository ppa:ubuntu-lxc/daily -y
+    sudo apt-get update -qq
+    sudo apt-get install -qq gcc automake
+    sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev 
python3-dev docbook2x libgnutls-dev liblua5.2-dev libselinux1-dev 
libcgmanager-dev
+  SHELL
+end
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to