mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Set box version constraint to make sure using latest one and change username to default "vagrant" user (#880)
Fixes #879
This commit is contained in:
committed by
Mikhail
parent
e3cb45afd9
commit
00599c91a4
7
Vagrantfile
vendored
7
Vagrantfile
vendored
@@ -6,16 +6,17 @@ Vagrant.require_version ">= 1.5"
|
||||
$provisioning_script = <<SCRIPT
|
||||
# use remote git version instead of sharing a copy from host to preserve proper file permissions
|
||||
# and prevent permission related issues for the temp directory
|
||||
git clone https://github.com/armbian/build /home/ubuntu/armbian
|
||||
git clone https://github.com/armbian/build /home/vagrant/armbian
|
||||
mkdir -p /vagrant/output /vagrant/userpatches
|
||||
ln -sf /vagrant/output /home/ubuntu/armbian/output
|
||||
ln -sf /vagrant/userpatches /home/ubuntu/armbian/userpatches
|
||||
ln -sf /vagrant/output /home/vagrant/armbian/output
|
||||
ln -sf /vagrant/userpatches /home/vagrant/armbian/userpatches
|
||||
SCRIPT
|
||||
|
||||
Vagrant.configure(2) do |config|
|
||||
|
||||
# What box should we base this build on?
|
||||
config.vm.box = "ubuntu/xenial64"
|
||||
config.vm.box_version = ">= 20180126.0.0"
|
||||
|
||||
#######################################################################
|
||||
# THIS REQUIRES YOU TO INSTALL A PLUGIN. RUN THE COMMAND BELOW...
|
||||
|
||||
Reference in New Issue
Block a user