redteaminfra / redteam-infra

98 stars 25 forks source link

packer support for kali #5

Closed tophertimzen closed 5 years ago

tophertimzen commented 6 years ago

https://github.com/unsubtleguy/kali-packer.git

$ git diff
diff --git a/kali.json b/kali.json
index 246fc21..dabb898 100755
--- a/kali.json
+++ b/kali.json
@@ -2,7 +2,7 @@
   "variables": {
     "vm_name": "kali-desktop",
     "disk_size": "40960",
-    "iso_checksum": "f9f8f6bf52b45e6c7ebdb862c7902e0bc2ef0c40660a46a7e3993d738dc2a055",
+    "iso_checksum": "46b265576b831924087391ca8317a8be98ac5a99d9e51a381062d1030cbedc3b",
     "iso_checksum_type": "sha256",
     "iso_url": "http://http.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/mini.iso",
     "box_name" : "kali-linux-rolling.box",
@@ -21,7 +21,7 @@
       "shutdown_command": "",
       "disk_size": "{{user `disk_size`}}",
       "format": "qcow2",
-      "headless": false,
+      "headless": true,
       "accelerator": "kvm",
       "http_directory": "http",
       "ssh_username": "root",
@@ -38,7 +38,7 @@
            [ "-m", "1024m" ],
            [ "--cpu", "host" ],
            [ "--no-acpi"],
-           [ "-vga", "qxl" ]
+          [ "-vga", "qxl" ],
            [ "-smp", "2" ]
       ]
     }
tophertimzen commented 5 years ago

We no longer support internal as of https://github.com/redteaminfra/redteam-infra/commit/4cc454d72fb1f206a6cfd4c81ef9f05af5960ccf