Commit Graph

657 Commits

Author SHA1 Message Date
Dave Eargle
a7d110a383 update docs for using vagrant to develop ub1404
* reference a new box that supporst libvirt
* default-disable nfs and instead give instructions for using rsync for 
provisioning with chef-solo
2020-10-02 17:23:59 -04:00
Dave Eargle
49f6ada4d8 allow all loopback traffic
see 
https://github.com/rapid7/metasploitable3/pull/458#issuecomment-702942817
2020-10-02 17:08:16 -04:00
Sliim
11423795a9 Allow ICMP protocol for linux machine
Required for setup_linux_share.bat provisioning script on the windows
machine. Fix #393
2020-10-02 15:29:27 -04:00
Dave Eargle
387c4fb521 open port 8080 for apache continuum
Closes #458
2020-10-02 14:39:34 -04:00
Jeffrey Martin
d987936b99
import libvirt box
`packer` build `provider` is not consistent at this time.

type qemu builder in the current packer config reports provider as `libvirt`
2020-08-21 13:59:15 -05:00
Jeffrey Martin
b0eaed0ae8
Land #431, fix virtio drivers for qemu build 2020-08-21 13:57:22 -05:00
Jeffrey Martin
6f699c7a83
Land #423, Iptables idempotent 2020-08-20 08:32:34 -05:00
Dave Eargle
6046932e05 generalize virtio floppy include; don't ignore swp 2020-08-19 17:22:29 -04:00
Dave Eargle
2e031bdebb Merge remote-tracking branch 'upstream/master' into win2k8-qemu-fix 2020-08-19 17:19:08 -04:00
Jeffrey Martin
9ec2a6326c
Land #424, make clear_cache recipe idempotent 2020-08-19 11:34:43 -05:00
Jeffrey Martin
041c9cacad
Land #478, lock java package 2020-08-19 08:26:32 -05:00
Jeffrey Martin
34283b14a1
lock the java package
The many services that rely on java need to have better limits.

By installing a specific compatible java version early the build
can eliminate churn and provide more consistent enviornments.
2020-08-19 08:11:37 -05:00
Jeffrey Martin
6ef3902e25
Land #444, Fix Powershell SSL/TLS error for chocolatey download 2020-02-08 08:45:18 -06:00
Jeffrey Martin
9d6f86a5fa
Land #439, Fix install of elasticsearch on Windows 2020-02-08 08:44:47 -06:00
HomeSen
a47a60f37d Fix Powershell SSL/TLS error for chocolatey download 2020-02-06 17:51:04 +01:00
Wayne Haber
785a042ab4
Fix install of elasticsearch on Windows
The install is failing as the .zip download was not working.  Updated link to elaticsearch.co, changed it from http to https, and updated the script to ignore cert errors.  All changes were required to make it work (for me at least).
2020-01-28 16:16:50 -05:00
Dave Eargle
74d205d5a0 fix virtio drivers for qemu build of win2k8; optimize vagrantfile for libvirt qemu windows guest 2019-11-27 17:26:51 -05:00
Dave Eargle
6a9693e97e move firewall rules into respective recipes 2019-10-30 21:53:17 -06:00
Dave Eargle
12cb9914bd remove github artifacts from vendor cookbook 2019-10-30 18:32:05 -06:00
Dave Eargle
5bb3dbf353 refactor iptables recipe and knockd to use iptables cookbook, which auto-provides persistence. 2019-10-30 18:31:27 -06:00
Dave Eargle
7d054caae4 make clear_cache recipe idempotent 2019-10-29 14:11:38 -06:00
Jeffrey Martin
6a17501824
Land #422, ub1404 development and modification instructions 2019-10-29 14:40:04 -05:00
Dave Eargle
72dc282aa0 ub1404 dev workflow
Tweaks to the recipes to avoid repetition of work, and ub1404 dev,
* let apt cookbook handle apt-update globally
* do not download, configure, make, make install if the package is
already installed
* add guards for file deletion to first check whether file is present
* use docker cookbook for image building and running, to only build if
not alrady built and only run if not already running
* drop mysql table and recreate each time

Also,
* bump Docker cookbook to 4.9.3
* bump mysql cookbook to 8.5.1
* add apt cookbook for better apt-update management
* bump depends versions and add apt
* modify readme with customization instructions
* modify all chef runlists to call apt first in the runlist
* add a vagrantfile for dev of ub1404
2019-10-29 13:36:27 -06:00
Jeffrey Martin
4e6327b4f3
Land #417, Prescription for Windows 2019-10-21 16:36:34 -05:00
Jeffrey Martin
25bd5166d2
reset whitespace 2019-10-21 16:36:00 -05:00
Chris
a6e78447cf
correct packer
Sure that's true ive forgot about splitting
2019-10-21 20:56:48 +02:00
Jeffrey Martin
02e65a2c17
Land #381, Fix snmp 2019-10-21 12:15:32 -05:00
swiru95
193d1510b6 packer cmd command 2019-10-18 22:13:40 +02:00
Jeffrey Martin
4570c6f1f7
Land #412, Fix install Glassfish win2k8 2019-10-18 14:58:16 -05:00
swiru95
61640f6bee Windows Installation Update2 2019-10-18 18:32:35 +02:00
swiru95
fe0a454ffb Windows Installation update 2019-10-18 18:31:06 +02:00
jorgitux
3598053ff4 Fix install Glassfish win2k8 2019-10-07 22:43:46 -05:00
Jeffrey Martin
48615d1d22
Land #370, added | tr -d ',' to resolve the syntax 2019-09-03 22:36:56 -05:00
Pete Ezzo
53d2c927ac add parallels provider support for ub1404 and win2k8 2019-04-03 10:45:20 -04:00
usmcfiredog
7993467ddd
moved the placement of the snmp install to the powershell section 2019-03-05 08:07:55 -08:00
usmcfiredog
525940362a
changed to DISM install to allow the feature to install 2019-03-05 08:05:56 -08:00
Jeffrey Martin
6b0bac0626
Land #375, Lock ubuntu docker 2019-02-17 21:34:30 -06:00
Jeffrey Martin
573494f73a
Land #344, remove carriage returns from service config files 2019-02-17 00:17:03 -06:00
Jeffrey Martin
2680a14624
lock docker version for kernel compatibility 2019-02-17 00:03:49 -06:00
Jeffrey Martin
c238a6a46d
update with chef-cookbook/docker v4.9.2 2019-02-17 00:02:05 -06:00
Jeffrey Martin
1635028a8e
Land #356, Fix if then else statement 2019-02-12 11:18:41 -06:00
Jeffrey Martin
986d5dfec9
Land #368, Fix iis install 2019-02-11 18:13:27 -06:00
Jeffrey Martin
12414767dc
Land #369, lock sqlite3 install version to 1.3.11 2019-02-05 23:43:35 -06:00
usmcfiredog
bef2dc8fff
added | tr -d ',' to resolve the syntax
There is a syntax error when running the script. Added the fix as stated in issue #339
2019-02-05 18:00:23 -08:00
usmcfiredog
8b9aeec43b
locking sqlite3 install version to 1.3.11
The new version of sqlite3 breaks the install process for the windows setup.
2019-02-05 17:54:47 -08:00
Nicholas Kasprinski
c21d1c0f9e moved the setup_iis.bat to an elevated powershell script in order to activate the features 2019-02-05 17:44:34 -08:00
Nicholas Kasprinski
6f01e7a9d7 changed from pkgmgr to DISM to allow for the features to be enabled correctly 2019-02-05 17:43:13 -08:00
Jeffrey Martin
ad11cefb4e
Land #358, make guest tools last so pre-reqs are in place 2019-01-17 21:34:52 -06:00
Jeffrey Martin
a4ecd265cf
Update guest tools install for better vmware support
* make guest tools last so pre-reqs are in place

Packer 1.3.x and possibly more does not inject enviornment
variables as expected into `windows-shell` provisioners, moving
script that requires these into a `shell` provisioner.

* do not trust default uploaded windows.iso

Packer in some cases will upload windows.iso from the host
building the VM, since server 2008 needs a specific older
version of tools this can cause problems.

Example issue:
VMware Fusion 11 on macOS Mojave will supply 10.3.x in windows.iso
and will hit https://kb.vmware.com/s/article/55798 due the patch level
expectaions that are intentionally not met for Windows 2008r2.
2019-01-17 21:33:55 -06:00
Jeffrey Martin
1c1f727d92
Land #353, add detection for vmware provider 2018-12-27 17:41:34 -06:00