Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental/evilpot #3

Open
wants to merge 131 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
7872f5a
Update generic-virtualbox.json
brokep Nov 28, 2018
fdfa1ab
Add files via upload
brokep Nov 28, 2018
a2d955f
Add files via upload
brokep Nov 28, 2018
545d7cb
Update packer-cache.json
brokep Nov 28, 2018
7e4887b
Adding the skeleton templates in prepared to receive the new evil box…
ladar Nov 28, 2018
7430538
adding skeleton provisoning for hyperv,virtualbox, and vmware. inludi…
invalid-email-address Jan 10, 2019
c5b226b
several nomenclature bugs fixed
Jan 13, 2019
709060b
adding packer build template in ruby
Jan 13, 2019
f33799c
Update README.md
Jan 13, 2019
50818b2
Merge pull request #32 from klosnet/evilpot
ladar Jan 14, 2019
eb2404d
fixing JSON parse error
Jan 16, 2019
279e810
Update generic-virtualbox.json
Jan 16, 2019
8d0b332
[fixing json parsing errors]
Jan 17, 2019
6fdcc05
[fixing parsing]
Jan 17, 2019
3574499
remaining files I forgot
Jan 17, 2019
9349c90
configuring additional ubuntu and upstream debian compatible servers.
Jan 17, 2019
b5c23ea
Update README.md
Jan 17, 2019
e77cbaa
Merge pull request #33 from klosnet/evilpot
ladar Jan 21, 2019
70c2050
Adding the skeleton templates in prepared to receive the new evil box…
ladar Nov 28, 2018
c920425
Merge remote branch 'origin/experimental/evilpot'
Mar 3, 2019
8945519
fixing evil-honeypot builder
Mar 3, 2019
311d894
removed evilpot named variables, functions, filenaems, etc.
Mar 3, 2019
9262bc5
removed evilpot named variables, functions, filenaems, etc.
Mar 3, 2019
75af679
fix
Mar 3, 2019
8d1fe81
Merge branch 'experimental/evilpot' of https://github.com/klosnet/rob…
Mar 3, 2019
39e20be
evil-honeypot
Mar 12, 2019
c3c6ead
evil-honeypot
Mar 12, 2019
aad44f5
evil-honeypot
Mar 12, 2019
f49e931
untested
Mar 12, 2019
c677c0f
# Update the package database.
May 10, 2019
8575243
adding parrot
May 10, 2019
e41c904
adding automated parrot installer script
May 10, 2019
e09e9d2
auto-installer for cloud
May 10, 2019
d937e34
created evil-honeypot.rb packer demplate using the configurations fro…
May 10, 2019
e3c3c9e
Arch/Alpine/Gentoo/RHEL ISO URLs updated.
ladar May 14, 2019
a86a60f
Bump version to 1.9.14.
ladar May 14, 2019
4393915
Updated the Hyper-V templates to conform with the new schema.
ladar May 14, 2019
3d2012c
Removed rankmirrors from Arch install script.
ladar May 16, 2019
d2ea4b6
adding skeleton files for Parrot provisioner scripts
May 17, 2019
face570
{
May 17, 2019
b626ce0
config.vm.provider :virtualbox do |v, override|
May 17, 2019
09fa005
remove unnecessary evil.rb cfg file
May 17, 2019
14a64aa
removed line 103 #evil-honeypot need to change vagrant…
May 17, 2019
2853a34
Updated Gentoo URL.
ladar May 20, 2019
20aca46
remove elevator= kernel parameter for rhel8
DevKyleS May 25, 2019
dd777d5
Removing elevator kernel param from RHEL 8 config.
ladar May 29, 2019
0bd921e
Merge pull request #51 from DevKyleS/patch-1
ladar May 29, 2019
26ec0da
Added note about updating SSH config to fix connection bug.
ladar Jun 3, 2019
41e30c5
Added note about updating SSH config to fix connection bug.
ladar Jun 3, 2019
61db13e
Merge branch 'master' of https://git.lavabit.com/robox
ladar Jun 3, 2019
647f9ef
HardenedBSD, DragonflyBSD, Arch, and Gentoo ISOs updated.
ladar Jun 12, 2019
d0e5490
Remove localized from all target.
ladar Jun 12, 2019
2c658cf
Initial Oracle Linux 8 configuration added.
ladar Jun 12, 2019
aed16fb
Updated the Oracle 8 install config.
ladar Jun 12, 2019
79c0c53
Oracle 8 config script cleanup.
ladar Jun 12, 2019
458819c
Removed sshd-keygen tweak from RHEL 8 SSH module.
ladar Jun 12, 2019
df3322f
Removed updatedb cron job tweak from RHEL 8.
ladar Jun 12, 2019
f10ee7c
Explicitly use SATA adapter for Oracle 8 VMWare builds.
ladar Jun 13, 2019
a0e75f7
Oracle 8 Vagrantfile updated to use virtio for libvirt boxes.
ladar Jun 13, 2019
c63af3d
Updated 17.10 to use old releases server.
ladar Jun 14, 2019
7e148d9
Remove DKMS/UEK from Oracle 8 VirtualBox script during beta period.
ladar Jun 19, 2019
23e6607
Print the vboxadd-setup.log if the Oracle 8 VirtualBox script fails.
ladar Jun 19, 2019
7df2caf
Adding libelf devel to Oracle 8 VirtualBox script.
ladar Jun 19, 2019
0e25d35
Adding extra vboxadd-setup.log output to remaining VirtualBox scripts.
ladar Jun 19, 2019
de600cc
Initial Alpine 3.10.0 configuration.
ladar Jun 20, 2019
d7ae84b
Added Alpine 3.10 detection to common scripts.
ladar Jun 20, 2019
17dec21
Added HardenedBSD 12 on Parallels options.
ladar Jun 24, 2019
641333c
Updated DragonFlyBSD to 5.6.1 along with Gentoo installer.
ladar Jun 24, 2019
e882c5b
Added Oracle 8 Docker config. Forked Oracle kickstart files used to b…
ladar Jun 24, 2019
71e4b14
Updated public URL checks for docker variants.
ladar Jun 24, 2019
98771b2
Enabled public check for remaining Hyper-V boxes.
ladar Jun 26, 2019
c40bd40
Oracle 8 needs to tar to make docker images.
ladar Jun 26, 2019
0b83b60
Fixed the delete script.
ladar Jun 26, 2019
ebbf435
Updated the curl retry parameters.
ladar Jun 26, 2019
3617784
Added cmake to Fedora/Debian Magma scripts.
ladar Jun 28, 2019
da185c7
Updated the Gentoo install ISO.
ladar Jun 28, 2019
e3cae11
Updated the version to 1.9.18.
ladar Jun 28, 2019
ad609c4
Updated the Gentoo install ISO.
ladar Jul 1, 2019
1390f0f
Added link to Roboxes Docker images.
ladar Jul 1, 2019
8d5dee7
Updated the Arch MariaDB config path.
ladar Jul 1, 2019
ab80320
Updated Arch install ISO.
ladar Jul 3, 2019
65e8720
Added initial OpenSUSE 15.1 configuration.
ladar Jul 3, 2019
df4fad3
Updated the OpenSUSE 15.1 repo URL provided by the boot command.
ladar Jul 3, 2019
b6247f1
Removed mlocate update from OpenSUSE 15 config.
ladar Jul 3, 2019
6c8bce8
Disable the OpenSUSE 15 Postfix tweak.
ladar Jul 3, 2019
67aafa4
Gentoo installer updated.
ladar Jul 5, 2019
27ece58
Migrated Debian 10 config from pre-release to release ISO.
ladar Jul 8, 2019
0bcd790
Updated the Gentoo install ISO.
ladar Jul 8, 2019
954b66e
Updated packer install logic in providers.sh script.
ladar Jul 8, 2019
9d2303f
Updated add script so it can be run from res/scripts.
ladar Jul 8, 2019
1977c8b
Updated FreeBSD to 11.3.
ladar Jul 10, 2019
11b59ac
Updated the HardenedBSD 12 ISO.
ladar Jul 10, 2019
5d721ff
Fix sed usage inside FreeBSD scripts.
ladar Jul 10, 2019
4c96db7
Fixed spurious sed call in FreeBSD scripts.
ladar Jul 10, 2019
f8909bc
Updated Alpine 3.10.0 to 3.10.1.
ladar Jul 15, 2019
e33c9d9
Updated the Gentoo URL.
ladar Jul 15, 2019
be20ce6
Switched Oracle/RHEL v8 scripts from yum to dnf.
ladar Jul 15, 2019
768aa21
Updated Gentoo ISO details.
ladar Jul 17, 2019
757e5fe
Disable MAC spoofing during Hyper-V builds.
ladar Jul 17, 2019
92a715b
alpine3{9,10}: Allow SSH TCP port forwarding
timschumi Jul 19, 2019
914b40b
Updated OpenBSD to 6.5. Close issue #68.
ladar Jul 22, 2019
28188d7
Updated the Gentoo ISO.
ladar Jul 22, 2019
0eed510
Overhauled generic Gentoo install script. Fixed profile symlink bug.
ladar Jul 23, 2019
037f23b
Updated 19.04 install config to match 18.04.
ladar Jul 23, 2019
c77ca4a
Gentoo install script syntax fixes. Updated Gentoo kernel config.
ladar Jul 23, 2019
168f325
Working generic Gentoo install script.
ladar Jul 23, 2019
651e8bd
Updating the Magma version of the Gentoo install script with the chan…
ladar Jul 23, 2019
3891194
Ubuntu 19.04 scripts need an explicit TERM environment variable.
ladar Jul 23, 2019
e1279f6
The previous Ubuntu script update should have used -x instead of -e.
ladar Jul 23, 2019
eee6b68
Merge pull request #66 from timschumi/patch/libvirt-ssh-tcp
ladar Jul 24, 2019
882cdc5
There was a problem with the build on even not evilpot boxes. I also …
Aug 7, 2019
84a1cae
removed libesd0-dev package from build as it is not found inthe ubunt…
Aug 7, 2019
253fd7f
installs PowerShell Core on Ubuntu 18.04 LTS. PowerShell is a command…
Aug 7, 2019
492d7b8
fixing merge issues. moving honeypot.sh to /scripts/evilpot/ where it…
Aug 7, 2019
dfafe90
mv name change
Aug 7, 2019
b651781
name change fixin'
Aug 7, 2019
6fda1c1
gracias original creator
Aug 7, 2019
0700e65
yay we saved the city!!
Aug 7, 2019
e4442b9
virtual idential copy of lineage with naming conventions followed and…
Aug 7, 2019
b3af169
Update klosnetkali.sh
Aug 7, 2019
545944f
cerbot and runs autoinstaller, non-interactive
Aug 7, 2019
624ce19
mysql
Aug 7, 2019
955ccde
pleasing the git Gods
Aug 7, 2019
bea51d1
Merge branch 'experimental/evilpot' of https://github.com/klosnet/rob…
Aug 7, 2019
f1f952b
adding some cert autobot automation to generation certifications fro…
Aug 7, 2019
faf5e1d
added in missing files that were causing build errors
brokep Aug 19, 2019
620db72
added additional skeleton file, copied from LineageOS build templates.
brokep Aug 19, 2019
15fa3ed
added a few minor changes to box hostname
brokep Aug 19, 2019
d31699e
replacing variable names w/ evilpot for consistency
8ch-se-pol Aug 20, 2019
5d3687a
replacing variables for consistency
8ch-se-pol Aug 20, 2019
a7dc518
retooling robox.sh for evilpot
brokep Sep 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

# Roboxes

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of type 2 hypervisors, using packer.

Generic base boxes, providing a variety of operating systems, and available across a number of different virtualized platforms.

## Website
Expand All @@ -12,10 +14,12 @@ https://app.vagrantup.com/lavabit
https://app.vagrantup.com/lineage

## Docker Images
https://hub.docker.com/r/lavabit/
https://hub.docker.com/u/roboxes/
https://hub.docker.com/u/lavabit/

The templates in this repo require a current version of packer, (1.3.4+) and in some cases, make use of features which haven't been officially merged and/or released yet. Use the res/providers/packer.sh script to build an appropriately patched packer binary.

<<<<<<< HEAD
## Pending Tasks

Add retry function to scripts and wrap yum/apt/apk/pacman/etc (prototype in silent.sh already)
Expand All @@ -24,6 +28,20 @@ Generate docker variants for the RHEL/Oracle/Ubuntu/Debian/Alpine configurations
Add upload/delete/release functions to robox.sh
Add vagrant user password randomization logic to the bundled Vagrantfiles
Add init based test, and SSH command test to the box test and check script
Ad `IPQoS lowdelay throughput` to the relevant configs to solve the [OpenSSH bug](https://github.com/hashicorp/vagrant/issues/10730)
=======
## Upcoming Boxes
Debian 10 Buster
Parrot
Backbox
Pentoo
Kali
Subgraph OS
Tails
Arch Assault

>>>>>>> 5d3687abf64d4b27c5acc2d93aa6f65a166be72b


## Pending Additions

Expand Down Expand Up @@ -53,6 +71,7 @@ Slackware
MacOS
ReactOS
Windows
<<<<<<< HEAD

Tails
Kali
Expand All @@ -71,3 +90,6 @@ Bitcoin Cash
qqxyedtn68jg84w4mkd3vsw2nu6pgkydnudza0ed0m

[Robxes](https://roboxes.org) is maintained by Ladar Levison, with infrastructure provided by [Hacking and Coffee LLC](https://hackingand.coffee), and [Lavabit LLC](https://lavabit.com).
=======

>>>>>>> 5d3687abf64d4b27c5acc2d93aa6f65a166be72b
4 changes: 2 additions & 2 deletions developer-hyperv.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"<tab> ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/magma.centos6.developer.ks<enter><wait>"
],
"disk_size": 131072,
"ram_size": 1024,
"cpu": 4,
"memory": 1024,
"cpus": 4,
"http_directory": "http",
"iso_url": "https://mirrors.edge.kernel.org/centos/6.10/isos/x86_64/CentOS-6.10-x86_64-minimal.iso",
"iso_checksum": "7c0dee2a0494dabd84809b72ddb4b761f9ef92b78a506aef709b531c54d30770",
Expand Down
4 changes: 2 additions & 2 deletions developer-virtualbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
"ssh_port": 22,
"ssh_wait_timeout": "7200s",
"shutdown_command": "sudo -S shutdown -P now",
"guest_additions_url": "http://download.virtualbox.org/virtualbox/5.2.26/VBoxGuestAdditions_5.2.26.iso",
"guest_additions_sha256": "b927c5d0d4c97a9da2522daad41fe96b616ed06bfb0c883f9c42aad2244f7c38",
"guest_additions_url": "http://download.virtualbox.org/virtualbox/5.2.30/VBoxGuestAdditions_5.2.30.iso",
"guest_additions_sha256": "dd07da975f346608b0f6843f4be4bfdf48b4610ef49a0c0e6aa689ef81c1bd69",
"guest_additions_path": "VBoxGuestAdditions.iso",
"virtualbox_version_file": "VBoxVersion.txt"
}
Expand Down
297 changes: 297 additions & 0 deletions evilpot-hyperv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
{
"variables": {
"box_version": "{{env `VERSION`}}"
},
"provisioners": [
{
"scripts": [
"scripts/evilpot/apt.sh",
"scripts/evilpot/network.sh"
],
"type": "shell",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"evilpot-hyperv",
"evilpotos-hyperv",
"evilpot-nash-hyperv",
"evilpotos-nash-hyperv"
]
},
{
"scripts": [
"scripts/evilpot/limits.sh",
"scripts/evilpot/floppy.sh",
"scripts/evilpot/vagrant.sh",
"scripts/evilpot/motd.sh",
"scripts/evilpot/fixtty.sh",
"scripts/evilpot/virtualbox.sh",
"scripts/evilpot/parallels.sh",
"scripts/evilpot/vmware.sh",
"scripts/evilpot/qemu.sh",
"scripts/evilpot/cleanup.sh"
],
"type": "shell",
"pause_before": "120s",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"evilpot-hyperv",
"evilpotos-hyperv",
"evilpot-nash-hyperv",
"evilpotos-nash-hyperv"
]
},
{
"type": "file",
"direction": "upload",
"source": "res/blobs/system-blobs.tar.gz",
"destination": "/home/vagrant/system-blobs.tar.gz",
"only": [
"evilpot-hyperv",
"evilpotos-hyperv",
"evilpot-nash-hyperv",
"evilpotos-nash-hyperv"
]
},
{
"scripts": [
"scripts/evilpot/evilpot.sh"
],
"type": "shell",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"only": [
"evilpot-hyperv",
"evilpotos-hyperv",
"evilpot-nash-hyperv",
"evilpotos-nash-hyperv"
]
},
{
"scripts": [
"scripts/common/keys.sh",
"scripts/common/machine.sh",
"scripts/common/zerodisk.sh",
"scripts/common/lockout.sh"
],
"type": "shell",
"start_retry_timeout": "15m",
"expect_disconnect": "true",
"except": [

]
}
],
"builders": [
{
"type": "hyperv-iso",
"name": "evilpot-hyperv",
"vm_name": "evilpot-hyperv",
"output_directory": "output/evilpot-hyperv",
"boot_wait": "20s",
"boot_command": [
"<enter><wait>",
"<f6><esc>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false auto-install/enable=true debconf/priority=critical debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/evilpot.evilpot.vagrant.cfg --- <wait><enter>"
],
"disk_size": 98304,
"ram_size": 1024,
"cpu": 2,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/16.04.5/ubuntu-16.04.5-server-amd64.iso",
"iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"generation": 1,
"headless": true,
"communicator": "ssh",
"skip_compaction": false,
"enable_secure_boot": false,
"enable_mac_spoofing": true,
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
},
{
"type": "hyperv-iso",
"name": "evilpotos-hyperv",
"vm_name": "evilpotos-hyperv",
"output_directory": "output/evilpotos-hyperv",
"boot_wait": "20s",
"boot_command": [
"<enter><wait>",
"<f6><esc>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false auto-install/enable=true debconf/priority=critical debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/evilpot.evilpot.vagrant.cfg --- <wait><enter>"
],
"disk_size": 98304,
"ram_size": 1024,
"cpu": 2,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/16.04.5/ubuntu-16.04.5-server-amd64.iso",
"iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"generation": 1,
"headless": true,
"communicator": "ssh",
"skip_compaction": false,
"enable_secure_boot": false,
"enable_mac_spoofing": true,
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
},
{
"type": "hyperv-iso",
"name": "evilpot-nash-hyperv",
"vm_name": "evilpot-nash-hyperv",
"output_directory": "output/evilpot-nash-hyperv",
"boot_wait": "20s",
"boot_command": [
"<enter><wait>",
"<f6><esc>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false auto-install/enable=true debconf/priority=critical debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/evilpot.evilpot.vagrant.cfg --- <wait><enter>"
],
"disk_size": 98304,
"ram_size": 1024,
"cpu": 2,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/16.04.5/ubuntu-16.04.5-server-amd64.iso",
"iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"generation": 1,
"headless": true,
"communicator": "ssh",
"skip_compaction": false,
"enable_secure_boot": false,
"enable_mac_spoofing": true,
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
},
{
"type": "hyperv-iso",
"name": "evilpotos-nash-hyperv",
"vm_name": "evilpotos-nash-hyperv",
"output_directory": "output/evilpotos-nash-hyperv",
"boot_wait": "20s",
"boot_command": [
"<enter><wait>",
"<f6><esc>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
"<bs><bs><bs>",
"/install/vmlinuz ",
"initrd=/install/initrd.gz ",
"fb=false auto-install/enable=true debconf/priority=critical debconf/frontend=noninteractive ",
"ipv6.disable_ipv6=1 net.ifnames=0 biosdevname=0 preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/evilpot.evilpot.vagrant.cfg --- <wait><enter>"
],
"disk_size": 98304,
"ram_size": 1024,
"cpu": 2,
"http_directory": "http",
"iso_url": "https://mirrors.kernel.org/ubuntu-releases/16.04.5/ubuntu-16.04.5-server-amd64.iso",
"iso_checksum": "c94de1cc2e10160f325eb54638a5b5aa38f181d60ee33dae9578d96d932ee5f8",
"iso_checksum_type": "sha256",
"ssh_username": "root",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_timeout": "3600s",
"shutdown_command": "echo 'vagrant' | sudo -S shutdown -P now",
"generation": 1,
"headless": true,
"communicator": "ssh",
"skip_compaction": false,
"enable_secure_boot": false,
"enable_mac_spoofing": true,
"enable_dynamic_memory": false,
"guest_additions_mode": "disable",
"enable_virtualization_extensions": false
}
],
"post-processors": [
[
{
"type": "vagrant",
"compression_level": 9,
"keep_input_artifact": false,
"vagrantfile_template": "tpl/evilpot.rb",
"output": "output/{{build_name}}-{{user `box_version`}}.box",
"include": [
"tpl/evilpot/info.json"
]
},
{
"type": "artifice",
"keep_input_artifact": true,
"files": [
"output/{{build_name}}-{{user `box_version`}}.box"
]
},
{
"type": "checksum",
"checksum_types": [
"sha256"
],
"keep_input_artifact": true,
"output": "output/{{build_name}}-{{user `box_version`}}.box.sha256"
}
]
]
}
Loading