Skip to content

Commit

Permalink
❄️ 💎 🔖 🚀 🎨 ⚡️ v5.0.0 Drop all manual build proceses in favor of utili…
Browse files Browse the repository at this point in the history
…zing Packer (#129)

Instead of having to worry about installing guest extensions for each provider we can leverage the work done on the [chef/bento](https://github.com/chef/bento) repo and utilize [Packer](https://www.packer.io/) to build the Homestead box. 

This allows us to ship the *most up to date* Ubuntu box without having to rely on the release schedule of chef/bento base boxes that we have been uusing.
  • Loading branch information
svpernova09 authored Nov 30, 2017
1 parent 0e52ffe commit 1f58841
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 226 deletions.
2 changes: 2 additions & 0 deletions bin/copy-to-bento.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
/bin/cp -rf scripts/provision.sh ../bento/ubuntu/scripts/homestead.sh
23 changes: 0 additions & 23 deletions hyperv/Vagrantfile

This file was deleted.

13 changes: 0 additions & 13 deletions hyperv/build_hyperv.ps1

This file was deleted.

27 changes: 0 additions & 27 deletions parallels/Vagrantfile

This file was deleted.

18 changes: 0 additions & 18 deletions parallels/build.sh

This file was deleted.

8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Laravel Settler

The scripts that build the Laravel Homestead development environment.

## Usage

You probably don't want this repo.

* Run `./bin/copy-to-bento.sh`
* Add `scripts/homestead.sh` to `provisioners.scripts` after `"scripts/hyperv.sh",` in file `ubuntu/ubuntu-16.04-amd64.json`
* Follow normal [Packer](https://www.packer.io/) practice of building `ubuntu/ubuntu-16.04-amd64.json`
7 changes: 0 additions & 7 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,3 @@ apt-get -y clean
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
/sbin/mkswap /var/swap.1
/sbin/swapon /var/swap.1

# Minimize The Disk Image

echo "Minimizing disk image..."
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
sync
14 changes: 0 additions & 14 deletions scripts/update.sh

This file was deleted.

21 changes: 0 additions & 21 deletions scripts/vmware_tools.sh

This file was deleted.

3 changes: 0 additions & 3 deletions templates/metadata.json

This file was deleted.

29 changes: 0 additions & 29 deletions virtualbox/Vagrantfile

This file was deleted.

16 changes: 0 additions & 16 deletions virtualbox/build.sh

This file was deleted.

30 changes: 0 additions & 30 deletions vmware/Vagrantfile

This file was deleted.

25 changes: 0 additions & 25 deletions vmware/build.sh

This file was deleted.

0 comments on commit 1f58841

Please sign in to comment.