diff --git a/stretch.json b/stretch.json index 3175809..763f9b8 100644 --- a/stretch.json +++ b/stretch.json @@ -1,58 +1,68 @@ { "description": "Vanilla Debian Stretch base box", "variables": { - "box_version": "9.0.0", + "box_version": "9.1.0", "box_changelog": "* stable point release\n" }, "builders": [ { "boot_command": [ "", "install ", "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-9-stretch-preseed.cfg ", "debian-installer=en_US ", "auto ", "locale=en_US ", "kbd-chooser/method=us ", "netcfg/get_hostname=stretch ", "netcfg/get_domain=grnet.gr ", "fb=false ", "debconf/frontend=noninteractive ", "console-setup/ask_detect=false ", "console-keymaps-at/keymap=us ", "keyboard-configuration/xkb-keymap=us ", "" ], "disk_size": "1050", "disk_interface": "virtio", "headless": false, "http_directory": "http", - "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.0.0-amd64-netinst.iso", + "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.1.0-amd64-netinst.iso", "iso_checksum_type": "sha256", - "iso_checksum": "9d98f339016dc2a3998881949a8f0678baede26b5106f18ef1168d7e13606773", + "iso_checksum": "c9e070074de83aa22e141f59a423e5210a5019b369ef1efe61a2afd44ba8f371", "shutdown_command": "poweroff", "ssh_password": "root", "ssh_username": "root", "ssh_port": "22", "ssh_wait_timeout": "100000s", "type": "qemu", "qemuargs": [[ "-m", "2048" ],[ "-smp", "2" ]], "accelerator": "kvm", "vm_name": "debian-stretch-{{user `box_version`}}-x86_64.img", "output_directory": "stretch.build", "format": "raw" } ], "provisioners": [ { "type": "shell", "pause_before": "5s", "inline": ["sed -i 's/PermitRootLogin.*/PermitRootLogin without-password/g' /etc/ssh/sshd_config"] }, { + "type": "shell", + "pause_before": "5s", + "inline": ["ln -s /dev/null /etc/systemd/network/99-default.link"] + }, + { + "type": "shell", + "pause_before": "5s", + "inline": ["update-initramfs -u"] + }, + { "type": "file", "source": "files/resolv.conf", "destination": "/etc/resolv.conf" } ] }