summaryrefslogtreecommitdiffstats
path: root/support/misc
diff options
context:
space:
mode:
Diffstat (limited to 'support/misc')
-rw-r--r--support/misc/Vagrantfile21
1 files changed, 11 insertions, 10 deletions
diff --git a/support/misc/Vagrantfile b/support/misc/Vagrantfile
index dc4c15d51e..33ca6b802a 100644
--- a/support/misc/Vagrantfile
+++ b/support/misc/Vagrantfile
@@ -5,7 +5,7 @@
################################################################################
# Buildroot version to use
-RELEASE='2016.11.2'
+RELEASE='2017.02'
### Change here for more memory/cores ###
VM_MEMORY=2048
@@ -41,19 +41,20 @@ Vagrant.configure('2') do |config|
end
end
- config.vm.provision 'shell', inline:
- "sudo dpkg --add-architecture i386
- sudo apt-get -q update
- sudo apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
- sudo apt-get -q -y upgrade
- sudo apt-get -q -y install build-essential libncurses5-dev \
+ config.vm.provision 'shell', privileged: true, inline:
+ "sed -i 's|deb http://us.archive.ubuntu.com/ubuntu/|deb mirror://mirrors.ubuntu.com/mirrors.txt|g' /etc/apt/sources.list
+ dpkg --add-architecture i386
+ apt-get -q update
+ apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
+ apt-get -q -y install build-essential libncurses5-dev \
git bzr cvs mercurial subversion libc6:i386 unzip bc
- sudo apt-get -q -y autoremove
- sudo apt-get -q -y clean
- sudo update-locale LC_ALL=C"
+ apt-get -q -y autoremove
+ apt-get -q -y clean
+ update-locale LC_ALL=C"
config.vm.provision 'shell', privileged: false, inline:
"echo 'Downloading and extracting buildroot #{RELEASE}'
wget -q -c http://buildroot.org/downloads/buildroot-#{RELEASE}.tar.gz
tar axf buildroot-#{RELEASE}.tar.gz"
+
end
OpenPOWER on IntegriCloud