packer: update to grml64-full 2018.12
[grml-debootstrap.git] / packer / debian64.json
index 7d9c48d..d04f984 100644 (file)
@@ -1,10 +1,11 @@
 {
   "variables": {
     "grml_type": "grml64-full",
-    "grml_version": "2014.11",
-    "grml_iso_checksum": "120bfa48b096691797a73fa2f464c7c71fac1587",
-    "debian_version": "jessie",
-    "grml_debootstrap_version": "latest"
+    "grml_version": "2018.12",
+    "grml_iso_checksum": "e98c7f42fce1d28c7fdb88999067516a952d30ad",
+    "debian_version": "buster",
+    "grml_debootstrap_version": "latest",
+    "grml_debootstrap_local_path": "doesnotexist"
   },
 
   "builders": [
     "boot_command": [
       "<tab> ssh=grml <enter>"
     ],
-    "shutdown_command": "shutdown -h now"
+    "shutdown_command": "shutdown -h now",
+    "guest_additions_url": "https://download.virtualbox.org/virtualbox/5.2.24/VBoxGuestAdditions_5.2.24.iso",
+    "guest_additions_sha256": "cb217dbc3a34862d36ee0a5f5a6b0756e7b639c4852e675eeec7c4422dc02599",
+    "vboxmanage": [
+      ["modifyvm", "{{.Name}}", "--memory", "1024"]
+    ]
   }
   ],
     "provisioners": [
       "destination": "/tmp/debian64.bats"
     },
     {
+      "type": "shell",
+      "inline": "mkdir -vp /tmp/grml-debootstrap/"
+    },
+    {
       "type": "file",
-      "source": "../grml-debootstrap",
-      "destination": "/tmp/grml-debootstrap"
+      "source": "{{ user `grml_debootstrap_local_path` }}/",
+      "destination": "/tmp/grml-debootstrap/"
     },
     {
       "type": "shell",