4 Star 12 Fork 6

jocover / Build-Armbian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Vagrantfile 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
balbes150 提交于 2018-08-11 21:44 . v2080811 init 5.55
# -*- 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
1
https://gitee.com/jiangwei0402/Build-Armbian.git
git@gitee.com:jiangwei0402/Build-Armbian.git
jiangwei0402
Build-Armbian
Build-Armbian
master

搜索帮助