代码拉取完成,页面将自动刷新
# -*- mode: ruby -*-
# vi: set ft=ruby :
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/150balbes/Build-Armbian /home/vagrant/armbian
mkdir -p /vagrant/output /vagrant/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/bionic64"
config.vm.box_version = ">= 20180719.0.0"
#######################################################################
# THIS REQUIRES YOU TO INSTALL A PLUGIN. RUN THE COMMAND BELOW...
#
# $ vagrant plugin install vagrant-disksize
#
# Default images are not big enough to build Armbian.
config.disksize.size = "40GB"
# provisioning: install dependencies, download the repository copy
config.vm.provision "shell", inline: $provisioning_script
# forward terminal type for better compatibility with Dialog - disabled on Ubuntu by default
config.ssh.forward_env = ["TERM"]
# default user name is "ubuntu", please do not change it
# SSH password auth is disabled by default, uncomment to enable and set the password
#config.ssh.password = "armbian"
config.vm.provider "virtualbox" do |vb|
vb.name = "Armbian Builder"
# uncomment this to enable the VirtualBox GUI
#vb.gui = true
# Tweak these to fit your needs.
#vb.memory = "8192"
#vb.cpus = "4"
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。