From 2cc90ca240bf85f4f999133ede2c690f2e965a19 Mon Sep 17 00:00:00 2001 From: James Whiteman Date: Wed, 29 Jul 2020 12:27:30 +0100 Subject: [PATCH] Initial commit --- .gitignore | 0 .kateproject | 11 +++++++++++ Vagrantfile | 11 +++++++++++ vagrant/lin_bootstrap.sh | 11 +++++++++++ vagrant/win_bootstrap.bat | 2 ++ 5 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 .kateproject create mode 100644 Vagrantfile create mode 100644 vagrant/lin_bootstrap.sh create mode 100644 vagrant/win_bootstrap.bat diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.kateproject b/.kateproject new file mode 100644 index 0000000..de05b66 --- /dev/null +++ b/.kateproject @@ -0,0 +1,11 @@ +{ + "name": "Base Vagrant Project", + "index": true, + "files": [ { + "directory": ".", + "recursive": 1, + "filters": [ + ] + } + ] +} diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..35ea632 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,11 @@ +Vagrant.configure("2") do |config| + config.vm.define "lin" do |lin| + lin.vm.box = "ubuntu/bionic64" + lin.vm.provision :shell, path: "vagrant/lin_bootstrap.sh" + end + config.vm.define "win", autostart: false do |win| + win.vm.box = "senglin/win-10-enterprise-vs2015community" + win.vm.box_version = "1.0.0" + win.vm.provision :shell, path: "vagrant/win_bootstrap.bat" + end +end diff --git a/vagrant/lin_bootstrap.sh b/vagrant/lin_bootstrap.sh new file mode 100644 index 0000000..2e07528 --- /dev/null +++ b/vagrant/lin_bootstrap.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Update repositories +apt-get update +apt-get upgrade + +# Install utilities +apt-get install -y unzip +apt-get install -y git +apt-get install -y make +apt-get install -y g++ diff --git a/vagrant/win_bootstrap.bat b/vagrant/win_bootstrap.bat new file mode 100644 index 0000000..cd4f2e9 --- /dev/null +++ b/vagrant/win_bootstrap.bat @@ -0,0 +1,2 @@ +powershell "Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')" +