# Install configd-i debian-installer/locale string en_US.UTF-8d-i keyboard-configuration/xkb-keymap select fr
# Netcfgd-i netcfg/choose_interface select autod-i netcfg/get_hostname string unassigned-hostnamed-i netcfg/get_domain string unassigned-domain
# Clock & time/zoned-i clock-setup/utc boolean trued-i clock-setup/utc-auto boolean trued-i time/zone string UTC
# Mirrord-i mirror/country string manuald-i mirror/http/directory string /debiand-i mirror/http/hostname string http.debian.netd-i mirror/http/proxy string
# Partitiond-i partman-auto-lvm/guided_size string maxd-i partman-auto/choose_recipe select atomicd-i partman-auto/method string lvmd-i partman-lvm/confirm boolean trued-i partman-lvm/confirm boolean trued-i partman-lvm/confirm_nooverwrite boolean trued-i partman-lvm/device_remove_lvm boolean true
# Partman autod-i partman-md/confirm boolean trued-i partman-partitioning/confirm_write_new_label boolean trued-i partman/choose_partition select finishd-i partman/confirm boolean trued-i partman/confirm_nooverwrite boolean trued-i partman/confirm_write_new_label boolean true
# User initd-i passwd/root-login boolean trued-i passwd/root-password password baremetald-i passwd/root-password-again password baremetald-i passwd/make-user boolean false
tasksel tasksel/first multiselect standard, ubuntu-server
# Pkgd-i pkgsel/include string openssh-server sudo bzip2 wget curl maked-i pkgsel/install-language-support boolean falsed-i pkgsel/update-policy select unattended-upgradesd-i pkgsel/upgrade select full-upgrade
popularity-contest popularity-contest/participate boolean false
# Grubd-i grub-installer/only_debian boolean trued-i grub-installer/with_other_os boolean trued-i grub-installer/bootdev string /dev/sda
# Prevent packaged version of VirtualBox Guest Additions being installed:# d-i preseed/early_command string sed -is \# '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \# /usr/lib/pre-pkgsel.d/20install-hwpackages
# Authorize root to login via sshd-i preseed/late_command string \ echo "PermitRootLogin yes" > /etc/ssh/sshd_config
d-i finish-install/reboot_in_progress note
{ "variables": { "debian_version": "9.3.0" }, "builders": [ { "type": "virtualbox-iso", "boot_command": [ "<esc><wait>", "auto <wait>", "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg <wait>", "preseed/url/checksum=63e4b0d96d58b9085fb993cdb3c22495 <wait>", "<enter>" ], "boot_wait": "10s", "disk_size": 4096, "guest_os_type": "Debian_64", "headless": true, "http_directory": "http", "ssh_username": "root", "ssh_password": "baremetal", "ssh_port": 22, "ssh_wait_timeout": "10000s", "shutdown_command": "echo 'baremetal' |sudo -S /sbin/shutdown -hP now", "iso_checksum_type": "sha512", "iso_checksum_url": "http://cdimage.debian.org/cdimage/release/{{user `debian_version`}}/amd64/iso-cd/SHA512SUMS", "iso_url": "http://cdimage.debian.org/cdimage/release/{{user `debian_version`}}/amd64/iso-cd/debian-{{user `debian_version`}}-amd64-netinst.iso", "virtualbox_version_file": ".vbox_version", "vm_name": "baremetal-debian-{{user `debian_version`}}-amd64", "export_opts": [ "--manifest", "--vsys", "0", "--description", "{{user `vm_description`}}", "--version", "{{user `vm_version`}}" ], "format": "ova" } ], "provisioners": [ { "type": "shell", "execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'", "scripts": [ "scripts/sshd.sh" ] } ]}--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/25df6696-5b96-4121-ae43-c0a50c206530%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.