From d9ebfba7ab085a204f44f11ca2d066a0d116f86e Mon Sep 17 00:00:00 2001 From: Connor Date: Sun, 11 Mar 2018 17:17:51 -0700 Subject: [PATCH 1/3] adding packer windows templates as a git submodule --- .gitmodules | 3 +++ README.md | 11 ++++++++--- packer-windows | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 packer-windows diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..eeefa23 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "packer"] + path = packer-windows + url = https://github.com/StefanScherer/packer-windows.git diff --git a/README.md b/README.md index bb4f206..cd20223 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ # vagrant-windows Vagrant windows guest configuration -To build vagrant boxes for windows you can version windows environments. Given the ongoing use of windows in the modern business world, the ability to deploy these systems with codified configurations is highly desireable. +To build vagrant boxes for windows you can version windows environments. Given the ongoing use of windows in the modern business world, the ability to deploy these systems with codified configurations is highly desireable. the [Windows Packer Templates](https://github.com/joefitzgerald/packer-windows) repo contains a wealth of resources for building windows vagrant boxes. -Install packer -Clone the packer-windows repo +Install packer as a git submodule + +``` +git submodule add --name packer https://github.com/StefanScherer/packer-windows +``` + +Packer, and its windows templates can be managed in a seprate git repo and updated within the vagrant windows deployment repo. diff --git a/packer-windows b/packer-windows new file mode 160000 index 0000000..658b1d3 --- /dev/null +++ b/packer-windows @@ -0,0 +1 @@ +Subproject commit 658b1d36e60be4b711fe3a58a7d4d81029e1af77 From cffddbf0f60c40c93d244ff917cb344ef3d2cda3 Mon Sep 17 00:00:00 2001 From: Connor Date: Sun, 11 Mar 2018 17:40:25 -0700 Subject: [PATCH 2/3] testing git submodule workflow. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cd20223..6853553 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,6 @@ git submodule add --name packer https://github.com/StefanScherer/packer-windows ``` Packer, and its windows templates can be managed in a seprate git repo and updated within the vagrant windows deployment repo. + +when setting up in a new development environment you need to run: +`git submodule update` you will then see your subdirectory pull down its contents. From 8dc76152017e7b89085ef76d45490b908b8c2f42 Mon Sep 17 00:00:00 2001 From: Connor Date: Tue, 13 Mar 2018 22:57:07 -0700 Subject: [PATCH 3/3] adding .ds_store to git ignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 226cb85..914e361 100644 --- a/.gitignore +++ b/.gitignore @@ -48,7 +48,7 @@ build-iPhoneSimulator/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc - +.DS_Store #Vagrant /.vagrant /windows_2016_virtualbox.box