[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Vagrant 32bit wheezy basebox



Hi,

I needed a Wheezy box built in 32-bit (i386) to test a specific bug. It
seems that all official images are built for 64-bit processors, however:

https://atlas.hashicorp.com/debian

Therefore, I copied the `wheezy.json` file to `wheezy32.json` in the Git
repository and made the following changes:

--- wheezy.json	2017-03-24 10:14:58.136159002 -0400
+++ wheezy32.json	2017-03-24 11:01:23.629108856 -0400
@@ -1,5 +1,5 @@
 {
-  "description": "Vanilla Debian Wheezy base box",
+  "description": "Vanilla Debian Wheezy 32-bit base box",
   "variables": {
       "box_version": "7.11.2",
       "box_changelog": " * virtualbox: re add Recommends packages as it missed important packages and follows debian policy better ( see https://lists.debian.org/debian-cloud/2016/07/msg00007.html )"
@@ -27,9 +27,9 @@
       "disk_interface": "virtio",
       "headless": true,
       "http_directory": "http",
-      "iso_checksum": "62876fb786f203bc732ec1bd2ca4c8faea19d0a97c5936d69f3406ef92ff49bd",
+      "iso_checksum": "87fbef381fb708c47505f6ad5d120c83731cb2730c5148e60298f8f1685d73d6",
       "iso_checksum_type": "sha256",
-      "iso_url": "http://cdimage.debian.org/mirror/cdimage/archive/7.11.0/amd64/iso-cd/debian-7.11.0-amd64-netinst.iso";,
+      "iso_url": "http://cdimage.debian.org/mirror/cdimage/archive/7.11.0/i386/iso-cd/debian-7.11.0-i386-netinst.iso";,
       "shutdown_command": "sudo /sbin/halt -p",
       "ssh_password": "vagrant",
       "ssh_username": "vagrant",
@@ -38,8 +38,8 @@
       "type": "qemu",
       "qemuargs": [[ "-m", "1024M" ],[ "-smp", "2" ]],
       "accelerator": "kvm",
-      "vm_name": "wheezy.raw",
-      "output_directory": "wheezy.build",
+      "vm_name": "wheezy32.raw",
+      "output_directory": "wheezy32.build",
       "format": "raw"
     }
   ],

Which are somewhat trivial. I wonder if those could be merged back in?

My commits can be merged from the 32bit branch in this git repo:

https://gitlab.com/anarcat/debian-vm-templates.git

I'd also be happy to push this directly to the debian-cloud repo, if
given access. My username on Alioth is `anarcat`, of course.

Thanks,

A.

PS: I have also made some small changes to the build documentation, I
hope that's alright as well:

https://wiki.debian.org/Teams/Cloud/RebuildVagrantBaseBoxes?action=info

-- 
Si les élections n'étaient pas indispensables à la prospérité du
capital, on ne nous les servirait pas partout, toujours, à coup de
fric, à coup de flics.
                        - René Binamé

Attachment: signature.asc
Description: PGP signature


Reply to: