Logo
Explore Help
Sign In
iSharkFly-Docs/packer-cn
1
0
Fork 0
You've already forked packer-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
packer-cn/scripts/vagrant-freebsd-unpriv-bootstrap.sh

9 lines
135 B
Bash
Raw Normal View History

build: Allow multi-platform dev with Vagrantfile This commit rewrites the Vagrantfile for Packer in a similar manner to the work done for Nomad (hashicorp/nomad#3175) in order to make cross-platform development easier. It also adds support for a FreeBSD base box. Provisioning scripts are separated out in order that they can be correctly linted. Each script is prefixed `vagrant`, then the operating system, then whether or not it expects to be run in a privileged shell. Finally, dependencies have been bumped - Go 1.6 is switched out for the latest (1.9.2).
2017-11-02 10:45:31 -07:00
#!/bin/sh
export GOPATH=/opt/gopath
PATH=$GOPATH/bin:$PATH
export PATH
cd /opt/gopath/src/github.com/hashicorp/packer && gmake deps
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 137ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API