Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
750881c0
Commit
750881c0
authored
Aug 19, 2019
by
Erik Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Vagrantfile
parent
b884f522
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
Vagrantfile
Vagrantfile
+24
-0
No files found.
Vagrantfile
0 → 100644
View file @
750881c0
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant
.
configure
(
2
)
do
|
config
|
config
.
vm
.
box
=
"bento/ubuntu-19.04"
config
.
vm
.
provider
"virtualbox"
do
|
v
|
v
.
cpus
=
4
v
.
memory
=
8192
end
config
.
vm
.
network
"private_network"
,
type:
"dhcp"
config
.
vm
.
synced_folder
"."
,
"/go/src/k8s.io/kubernetes/"
,
type:
"nfs"
config
.
vm
.
provision
"shell"
,
inline:
<<-
SHELL
set -e -x -u
apt-get update -y || (sleep 40 && apt-get update -y)
apt-get install -y git gcc-multilib gcc-mingw-w64 jq git-secrets
wget -qO- https://storage.googleapis.com/golang/go1.12.9.linux-amd64.tar.gz | tar -C /usr/local -xz
echo 'export GOPATH=/go' >> /root/.bashrc
echo 'ulimit -n 65535' >> /root/.bashrc
GOPATH=/go /usr/local/go/bin/go get github.com/rancher/trash && rm -rf /go/src/github.com/rancher
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> /root/.bashrc
SHELL
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment