diff --git a/builds/libvirt/.gitignore b/builds/libvirt/.gitignore new file mode 100644 index 000000000..86d0cb272 --- /dev/null +++ b/builds/libvirt/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore \ No newline at end of file diff --git a/centos-5.11-i386.json b/centos-5.11-i386.json index 5b45afeed..360752b7f 100644 --- a/centos-5.11-i386.json +++ b/centos-5.11-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-centos-5.11-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "ec3a89b4edc8e391d13c1ecce4e6ce3917719e39", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/5.11/isos/i386/CentOS-5.11-i386-bin-DVD-1of2.iso", + "output_directory": "packer-centos-5.11-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-centos-5.11-i386" } ], "post-processors": [ diff --git a/centos-5.11-x86_64.json b/centos-5.11-x86_64.json index 1133c4593..aba103320 100644 --- a/centos-5.11-x86_64.json +++ b/centos-5.11-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-centos-5.11-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "ebd77f2fdfac8da04f31c508905cf52aa62937cc", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/5.11/isos/x86_64/CentOS-5.11-x86_64-bin-DVD-1of2.iso", + "output_directory": "packer-centos-5.11-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-centos-5.11-x86_64" } ], "post-processors": [ diff --git a/centos-6.6-i386.json b/centos-6.6-i386.json index 2ee0078b8..b8d4804ef 100644 --- a/centos-6.6-i386.json +++ b/centos-6.6-i386.json @@ -98,7 +98,27 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-centos-6.6-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "d16aa4a8e6f71fb01fcc26d8ae0e3443ed514c8e", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/6.6/isos/i386/CentOS-6.6-i386-bin-DVD1.iso", + "output_directory": "packer-centos-6.6-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-centos-6.6-i386" } + ], "post-processors": [ { diff --git a/centos-6.6-x86_64.json b/centos-6.6-x86_64.json index a69ebae1d..51ccd9f50 100644 --- a/centos-6.6-x86_64.json +++ b/centos-6.6-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-centos-6.6-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "08be09fd7276822bd3468af8f96198279ffc41f0", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/6.6/isos/x86_64/CentOS-6.6-x86_64-bin-DVD1.iso", + "output_directory": "packer-centos-6.6-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-centos-6.6-x86_64" } ], "post-processors": [ diff --git a/centos-7.1-x86_64.json b/centos-7.1-x86_64.json index f909a42fe..c57e65ebe 100644 --- a/centos-7.1-x86_64.json +++ b/centos-7.1-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-centos-7.1-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7.1/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "85bcf62462fb678adc0cec159bf8b39ab5515404bc3828c432f743a1b0b30157", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/7.1.1503/isos/x86_64/CentOS-7-x86_64-DVD-1503-01.iso", + "output_directory": "packer-centos-7.1-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-centos-7.1-x86_64" } ], "post-processors": [ diff --git a/debian-6.0.10-amd64.json b/debian-6.0.10-amd64.json index 49cee79d4..d85ac70dd 100644 --- a/debian-6.0.10-amd64.json +++ b/debian-6.0.10-amd64.json @@ -140,6 +140,39 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-debian-6.0.10-amd64" + }, + { + "type": "qemu", + "boot_command": [ + "", + "install ", + "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-6.0/preseed.cfg ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "f3e70528664f174a121b26491c59cd66daaf8274", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/6.0.10/amd64/iso-cd/debian-6.0.10-amd64-CD-1.iso", + "ssh_username": "vagrant", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_wait_timeout": "10000s", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/shutdown -hP now", + "vm_name": "packer-debian-6.0.10-amd64", + "output_directory": "packer-debian-6.0.10-amd64-qemu" } ], "post-processors": [ diff --git a/debian-6.0.10-i386.json b/debian-6.0.10-i386.json index fd7cd23c0..0d659b557 100644 --- a/debian-6.0.10-i386.json +++ b/debian-6.0.10-i386.json @@ -140,6 +140,39 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-debian-6.0.10-i386" + }, + { + "type": "qemu", + "boot_command": [ + "", + "install ", + "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-6.0/preseed.cfg ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "e8f77720e30f669e731fe3166ad6c3d2da33d93a", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/6.0.10/i386/iso-cd/debian-6.0.10-i386-CD-1.iso", + "ssh_username": "vagrant", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_wait_timeout": "10000s", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/shutdown -hP now", + "vm_name": "packer-debian-6.0.10-i386", + "output_directory": "packer-debian-6.0.10-i386-qemu" } ], "post-processors": [ diff --git a/debian-7.8-amd64.json b/debian-7.8-amd64.json index 03f330004..652dc39a0 100644 --- a/debian-7.8-amd64.json +++ b/debian-7.8-amd64.json @@ -140,6 +140,39 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-debian-7.8-amd64" + }, + { + "type": "qemu", + "boot_command": [ + "", + "install ", + "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-7/preseed.cfg ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "5f611b40b0803f8be1180da561cfbc159e381599", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/7.8.0/amd64/iso-cd/debian-7.8.0-amd64-CD-1.iso", + "ssh_username": "vagrant", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_wait_timeout": "10000s", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/shutdown -hP now", + "vm_name": "packer-debian-7.8-amd64", + "output_directory": "packer-debian-7.8-amd64-qemu" } ], "post-processors": [ diff --git a/debian-7.8-i386.json b/debian-7.8-i386.json index 0a89c3f12..ed07c3d77 100644 --- a/debian-7.8-i386.json +++ b/debian-7.8-i386.json @@ -140,6 +140,39 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-debian-7.8-i386" + }, + { + "type": "qemu", + "boot_command": [ + "", + "install ", + "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/debian-7/preseed.cfg ", + "debian-installer=en_US ", + "auto ", + "locale=en_US ", + "kbd-chooser/method=us ", + "keyboard-configuration/xkb-keymap=us ", + "netcfg/get_hostname={{ .Name }} ", + "netcfg/get_domain=vagrantup.com ", + "fb=false ", + "debconf/frontend=noninteractive ", + "console-setup/ask_detect=false ", + "console-keymaps-at/keymap=us ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "d87664e590f39aba725ec9705dc58a8c75417fef", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/7.8.0/i386/iso-cd/debian-7.8.0-i386-CD-1.iso", + "ssh_username": "vagrant", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_wait_timeout": "10000s", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/shutdown -hP now", + "vm_name": "packer-debian-7.8-i386", + "output_directory": "packer-debian-7.8-i386-qemu" } ], "post-processors": [ diff --git a/fedora-20-i386.json b/fedora-20-i386.json index 1f4639672..a5b312188 100644 --- a/fedora-20-i386.json +++ b/fedora-20-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-fedora-20-i386" + }, + { + "boot_command": [ + " linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora-20/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "284ea30ddd50db1b30cd5cd9fae7495dad8714ef1e4428d69a8c8ce80e03b6a9", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/releases/20/Fedora/i386/iso/Fedora-20-i386-DVD.iso", + "output_directory": "packer-fedora-20-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-fedora-20-i386" } ], "post-processors": [ diff --git a/fedora-20-x86_64.json b/fedora-20-x86_64.json index 3ed1eeb89..8ac5723bc 100644 --- a/fedora-20-x86_64.json +++ b/fedora-20-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-fedora-20-x86_64" + }, + { + "boot_command": [ + " linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora-20/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "f2eeed5102b8890e9e6f4b9053717fe73031e699c4b76dc7028749ab66e7f917", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/releases/20/Fedora/x86_64/iso/Fedora-20-x86_64-DVD.iso", + "output_directory": "packer-fedora-20-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-fedora-20-x86_64" } ], "post-processors": [ diff --git a/fedora-21-i386.json b/fedora-21-i386.json index 8a28a2e6e..cfac1a236 100644 --- a/fedora-21-i386.json +++ b/fedora-21-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-fedora-21-i386" + }, + { + "boot_command": [ + " linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora-21/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "85e50a8a938996522bf1605b3578a2d6680362c1aa963d0560d59c2e4fc795ef", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/releases/21/Server/i386/iso/Fedora-Server-DVD-i386-21.iso", + "output_directory": "packer-fedora-21-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-fedora-21-i386" } ], "post-processors": [ diff --git a/fedora-21-x86_64.json b/fedora-21-x86_64.json index 2270306c0..db284abba 100644 --- a/fedora-21-x86_64.json +++ b/fedora-21-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-fedora-21-x86_64" + }, + { + "boot_command": [ + " linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/fedora-21/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "a6a2e83bb409d6b8ee3072ad07faac0a54d79c9ecbe3a40af91b773e2d843d8e", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/releases/21/Server/x86_64/iso/Fedora-Server-DVD-x86_64-21.iso", + "output_directory": "packer-fedora-21-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-fedora-21-x86_64" } ], "post-processors": [ diff --git a/http/centos-5.11/ks.cfg b/http/centos-5.11/ks.cfg index c1c974fdb..45f9bb223 100644 --- a/http/centos-5.11/ks.cfg +++ b/http/centos-5.11/ks.cfg @@ -18,6 +18,7 @@ auth --useshadow --enablemd5 firstboot --disabled reboot user --name=vagrant --password vagrant +key --skip %packages --nobase --ignoremissing --excludedocs # vagrant needs this to copy initial files via scp diff --git a/http/centos-6.6/ks.cfg b/http/centos-6.6/ks.cfg index d7215076d..89fe001d5 100644 --- a/http/centos-6.6/ks.cfg +++ b/http/centos-6.6/ks.cfg @@ -18,6 +18,7 @@ auth --enableshadow --passalgo=sha512 --kickstart firstboot --disabled reboot user --name=vagrant --plaintext --password vagrant +key --skip %packages --nobase --ignoremissing --excludedocs # vagrant needs this to copy initial files via scp diff --git a/opensuse-13.2-i386.json b/opensuse-13.2-i386.json index 036b4b389..9ccd4c5c1 100644 --- a/opensuse-13.2-i386.json +++ b/opensuse-13.2-i386.json @@ -109,6 +109,30 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-opensuse-13.2-i386" + }, + { + "boot_command": [ + "", + "linux netsetup=dhcp netdevice=eth0 install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.2/autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "2ec28606829d6408efc5a79b70d1da738fdc09de", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/13.2/iso/openSUSE-13.2-DVD-i586.iso", + "output_directory": "packer-opensuse-13.2-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "disk_interface": "scsi", + "vm_name": "packer-opensuse-13.2-i386" } ], "post-processors": [ diff --git a/opensuse-13.2-x86_64.json b/opensuse-13.2-x86_64.json index 27e0c9173..5ad998c6f 100644 --- a/opensuse-13.2-x86_64.json +++ b/opensuse-13.2-x86_64.json @@ -109,6 +109,30 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-opensuse-13.2-x86_64" + }, + { + "boot_command": [ + "", + "linux netsetup=dhcp netdevice=eth0 install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/opensuse-13.2/autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "a1bd237ccfb07939953a9681607c99c00bc78d5d", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/13.2/iso/openSUSE-13.2-DVD-x86_64.iso", + "output_directory": "packer-opensuse-13.2-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "disk_interface": "scsi", + "vm_name": "packer-opensuse-13.2-x86_64" } ], "post-processors": [ diff --git a/oracle-5.11-i386.json b/oracle-5.11-i386.json index 206a2041a..e7cbf61ca 100644 --- a/oracle-5.11-i386.json +++ b/oracle-5.11-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-oracle-5.11-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "f4ef2b868a0cccb736664136eca798ec", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/Enterprise-R5-U11-Server-i386-dvd.iso", + "output_directory": "packer-oracle-5.11-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-oracle-5.11-i386" } ], "post-processors": [ diff --git a/oracle-5.11-x86_64.json b/oracle-5.11-x86_64.json index 9596cfa3a..17c4de8a2 100644 --- a/oracle-5.11-x86_64.json +++ b/oracle-5.11-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-oracle-5.11-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "8af2121088c7e6f5ebdb6d5900403240", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/Enterprise-R5-U11-Server-x86_64-dvd.iso", + "output_directory": "packer-oracle-5.11-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-oracle-5.11-x86_64" } ], "post-processors": [ diff --git a/oracle-6.6-i386.json b/oracle-6.6-i386.json index c113d7ba2..a67188665 100644 --- a/oracle-6.6-i386.json +++ b/oracle-6.6-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-oracle-6.6-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "81f0c85217f40763dea5053ec5594e4958498bbc", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/OracleLinux-R6-U6-Server-i386-dvd.iso", + "output_directory": "packer-oracle-6.6-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-oracle-6.6-i386" } ], "post-processors": [ diff --git a/oracle-6.6-x86_64.json b/oracle-6.6-x86_64.json index d32ccbc86..1261182ec 100644 --- a/oracle-6.6-x86_64.json +++ b/oracle-6.6-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-oracle-6.6-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "5738f10a506d3630edfd297ef179b553091c6a48", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/OracleLinux-R6-U6-Server-x86_64-dvd.iso", + "output_directory": "packer-oracle-6.6-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-oracle-6.6-x86_64" } ], "post-processors": [ diff --git a/rhel-5.11-i386.json b/rhel-5.11-i386.json index d1b3aa3aa..aa105039e 100644 --- a/rhel-5.11-i386.json +++ b/rhel-5.11-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-rhel-5.11-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "4e38e4ed06d83efb10446e7db19d96761715cdbdbf0bbfacb978b44ce368bbe2", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/rhel-server-5.11-i386-dvd.iso", + "output_directory": "packer-rhel-5.11-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-rhel-5.11-i386" } ], "post-processors": [ diff --git a/rhel-5.11-x86_64.json b/rhel-5.11-x86_64.json index d0d04a3d7..857f9c4dc 100644 --- a/rhel-5.11-x86_64.json +++ b/rhel-5.11-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-rhel-5.11-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.11/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "36565fe0c8a97207d63234d10123daeedb29d509576dbd7b34e71958ac2f9050", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/rhel-server-5.11-x86_64-dvd.iso", + "output_directory": "packer-rhel-5.11-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-rhel-5.11-x86_64" } ], "post-processors": [ diff --git a/rhel-6.6-i386.json b/rhel-6.6-i386.json index 21fb0638e..6057ef792 100644 --- a/rhel-6.6-i386.json +++ b/rhel-6.6-i386.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-rhel-6.6-i386" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "0a14ed1f7d7ea7b831739ed8e71719d9cb7c294bf801e8db39358651768547ad", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/rhel-server-6.6-i386-dvd.iso", + "output_directory": "packer-rhel-6.6-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-rhel-6.6-i386" } ], "post-processors": [ diff --git a/rhel-6.6-x86_64.json b/rhel-6.6-x86_64.json index cbc51fe5a..22ab03ec3 100644 --- a/rhel-6.6-x86_64.json +++ b/rhel-6.6-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-rhel-6.6-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.6/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "16044cb7264f4bc0150f5b6f3f66936ccf2d36e0a4152c00d9236fb7dcae5f32", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/rhel-server-6.6-x86_64-dvd.iso", + "output_directory": "packer-rhel-6.6-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-rhel-6.6-x86_64" } ], "post-processors": [ diff --git a/rhel-7.1-x86_64.json b/rhel-7.1-x86_64.json index 817f31f9b..357d8e0c0 100644 --- a/rhel-7.1-x86_64.json +++ b/rhel-7.1-x86_64.json @@ -98,6 +98,25 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-rhel-7.1-x86_64" + }, + { + "boot_command": [ + " text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7.1/ks.cfg" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "3685468ec6cdcb70dfc85ebbc164da427dc2d762644c3c2ee1520f4f661c15ce", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/rhel-server-7.1-x86_64-dvd.iso", + "output_directory": "packer-rhel-7.1-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-rhel-7.1-x86_64" } ], "post-processors": [ diff --git a/scripts/common/vmtools.sh b/scripts/common/vmtools.sh index d2439ea39..4f837673f 100644 --- a/scripts/common/vmtools.sh +++ b/scripts/common/vmtools.sh @@ -33,6 +33,10 @@ parallels-iso|parallels-pvm) rm /home/vagrant/*.iso ;; +qemu) + echo "Don't need anything for this one" + ;; + *) echo "Unknown Packer Builder Type >>$PACKER_BUILDER_TYPE<< selected." echo "Known are virtualbox-iso|virtualbox-ovf|vmware-iso|vmware-vmx|parallels-iso|parallels-pvm." diff --git a/sles-11-sp2-i386.json b/sles-11-sp2-i386.json index 2390582a0..18f0f235d 100644 --- a/sles-11-sp2-i386.json +++ b/sles-11-sp2-i386.json @@ -110,6 +110,29 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-sles-11-sp2-i386" + }, + { + "boot_command": [ + "", + "linux netdevice=eth0 netsetup=dhcp install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles-11/sles-11-sp2-i386-autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "a0b34f6237b2b2a6b2174c82b40ed326", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/SLES-11-SP2-DVD-i586-GM-DVD1.iso", + "output_directory": "packer-sles-11-sp2-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-sles-11-sp2-i386" } ], "post-processors": [ diff --git a/sles-11-sp2-x86_64.json b/sles-11-sp2-x86_64.json index 91af54993..2a3632a46 100644 --- a/sles-11-sp2-x86_64.json +++ b/sles-11-sp2-x86_64.json @@ -110,6 +110,29 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-sles-11-sp2-x86_64" + }, + { + "boot_command": [ + "", + "linux netdevice=eth0 netsetup=dhcp install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles-11/sles-11-sp2-x86_64-autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "461d82ae6e15062b0807c1338f040497", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/SLES-11-SP2-DVD-x86_64-GM-DVD1.iso", + "output_directory": "packer-sles-11-sp2-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-sles-11-sp2-x86_64" } ], "post-processors": [ diff --git a/sles-11-sp3-i386.json b/sles-11-sp3-i386.json index 9e0177fda..e420a0ae3 100644 --- a/sles-11-sp3-i386.json +++ b/sles-11-sp3-i386.json @@ -110,6 +110,29 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-sles-11-sp3-i386" + }, + { + "boot_command": [ + "", + "linux netdevice=eth0 netsetup=dhcp install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles-11/sles-11-sp3-i386-autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "5c30a409fc8fb3343b4dc90d93ff2c89", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/SLES-11-SP3-DVD-i586-GM-DVD1.iso", + "output_directory": "packer-sles-11-sp3-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-sles-11-sp3-i386" } ], "post-processors": [ diff --git a/sles-11-sp3-x86_64.json b/sles-11-sp3-x86_64.json index 418dfc5ea..8cf2391f3 100644 --- a/sles-11-sp3-x86_64.json +++ b/sles-11-sp3-x86_64.json @@ -110,6 +110,29 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-sles-11-sp3-x86_64" + }, + { + "boot_command": [ + "", + "linux netdevice=eth0 netsetup=dhcp install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles-11/sles-11-sp3-x86_64-autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "480b70d50cbb538382dc2b9325221e1b", + "iso_checksum_type": "md5", + "iso_url": "{{user `mirror`}}/SLES-11-SP3-DVD-x86_64-GM-DVD1.iso", + "output_directory": "packer-sles-11-sp3-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-sles-11-sp3-x86_64" } ], "post-processors": [ diff --git a/sles-12-x86_64.json b/sles-12-x86_64.json index 2cbe098fa..3a384909a 100644 --- a/sles-12-x86_64.json +++ b/sles-12-x86_64.json @@ -110,6 +110,29 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-sles-12-x86_64" + }, + { + "boot_command": [ + "", + "linux netdevice=eth0 netsetup=dhcp install=cd:/", + " lang=en_US autoyast=http://{{ .HTTPIP }}:{{ .HTTPPort }}/sles-12/sles-12-x86_64-autoinst.xml", + " textmode=1", + "" + ], + "boot_wait": "10s", + "disk_size": 20480, + "http_directory": "http", + "iso_checksum": "58086fca0441b1d44c7a51c5ee64e1bd4365466fcee48ec92c4f39d07739aeed", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/SLE-12-Server-DVD-x86_64-GM-DVD1.iso", + "output_directory": "packer-sles-12-x86_64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-sles-12-x86_64" } ], "post-processors": [ diff --git a/ubuntu-10.04-amd64.json b/ubuntu-10.04-amd64.json index 4e90fbaff..d3c43d822 100644 --- a/ubuntu-10.04-amd64.json +++ b/ubuntu-10.04-amd64.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-10.04-amd64" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-10.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "796e80702d65f2ee96e88874a1ab437e24df9cd6", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/10.04.4/ubuntu-10.04.4-server-amd64.iso", + "output_directory": "packer-ubuntu-10.04-amd64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-10.04-amd64" } ], "post-processors": [ diff --git a/ubuntu-10.04-i386.json b/ubuntu-10.04-i386.json index 00b407b4b..3d056aba3 100644 --- a/ubuntu-10.04-i386.json +++ b/ubuntu-10.04-i386.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-10.04-i386" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-10.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "5695d8b6b914269d1374ac8d4c3dd3786e92d3fe", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/10.04.4/ubuntu-10.04.4-server-i386.iso", + "output_directory": "packer-ubuntu-10.04-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-10.04-i386" } ], "post-processors": [ diff --git a/ubuntu-12.04-amd64.json b/ubuntu-12.04-amd64.json index abf4b4ab8..777a4ed17 100644 --- a/ubuntu-12.04-amd64.json +++ b/ubuntu-12.04-amd64.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-12.04-amd64" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-12.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "7540ace2d6cdee264432f5ed987236d32edef798", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/12.04/ubuntu-12.04.5-server-amd64.iso", + "output_directory": "packer-ubuntu-12.04-amd64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-12.04-amd64" } ], "post-processors": [ diff --git a/ubuntu-12.04-i386.json b/ubuntu-12.04-i386.json index dfb225379..a2ad86400 100644 --- a/ubuntu-12.04-i386.json +++ b/ubuntu-12.04-i386.json @@ -132,6 +132,47 @@ ], "boot_wait": "10s", "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "a34c224b7fe72a2f5c768be5afee5c53817743fd", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/12.04/ubuntu-12.04.5-server-i386.iso", + "output_directory": "packer-ubuntu-12.04-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-12.04-i386" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-12.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "parallels_tools_flavor": "lin", "guest_os_type": "ubuntu", "http_directory": "http", "iso_checksum": "a34c224b7fe72a2f5c768be5afee5c53817743fd", diff --git a/ubuntu-14.04-amd64.json b/ubuntu-14.04-amd64.json index 2d6eb149d..06f7d98e0 100644 --- a/ubuntu-14.04-amd64.json +++ b/ubuntu-14.04-amd64.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-14.04-amd64" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-14.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "8acd2f56bfcba2f7ac74a7e4a5e565ce68c024c38525c0285573e41c86ae90c0", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/14.04.2/ubuntu-14.04.2-server-amd64.iso", + "output_directory": "packer-ubuntu-14.04-amd64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-14.04-amd64" } ], "post-processors": [ diff --git a/ubuntu-14.04-i386.json b/ubuntu-14.04-i386.json index 7ff01ae74..c2f9af18a 100644 --- a/ubuntu-14.04-i386.json +++ b/ubuntu-14.04-i386.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-14.04-i386" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-14.04/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "76524ab9502a34b983ed56af2d5a72835ce41aec1e2b4c0cb7788ef596958ed6", + "iso_checksum_type": "sha256", + "iso_url": "{{user `mirror`}}/14.04.2/ubuntu-14.04.2-server-i386.iso", + "output_directory": "packer-ubuntu-14.04-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-14.04-i386" } ], "post-processors": [ diff --git a/ubuntu-14.10-amd64.json b/ubuntu-14.10-amd64.json index 270366944..c92a69e1a 100644 --- a/ubuntu-14.10-amd64.json +++ b/ubuntu-14.10-amd64.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-14.10-amd64" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-14.10/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "0c1ebea31c3523cfe9a4ffed8bcf6c7d23dfb97b", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/14.10/ubuntu-14.10-server-amd64.iso", + "output_directory": "packer-ubuntu-14.10-amd64-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-14.10-amd64" } ], "post-processors": [ diff --git a/ubuntu-14.10-i386.json b/ubuntu-14.10-i386.json index e8592a806..053049339 100644 --- a/ubuntu-14.10-i386.json +++ b/ubuntu-14.10-i386.json @@ -161,6 +161,46 @@ "ssh_wait_timeout": "10000s", "type": "parallels-iso", "vm_name": "packer-ubuntu-14.10-i386" + }, + { + "boot_command": [ + "", + "", + "", + "/install/vmlinuz", + " auto", + " console-setup/ask_detect=false", + " console-setup/layoutcode=us", + " console-setup/modelcode=pc105", + " debconf/frontend=noninteractive", + " debian-installer=en_US", + " fb=false", + " initrd=/install/initrd.gz", + " kbd-chooser/method=us", + " keyboard-configuration/layout=USA", + " keyboard-configuration/variant=USA", + " locale=en_US", + " netcfg/get_domain=vm", + " netcfg/get_hostname=vagrant", + " noapic", + " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-14.10/preseed.cfg", + " -- ", + "" + ], + "boot_wait": "10s", + "disk_size": 40960, + "http_directory": "http", + "iso_checksum": "26faf47df2162f4ff83e38e6831dd169da6db95f", + "iso_checksum_type": "sha1", + "iso_url": "{{user `mirror`}}/14.10/ubuntu-14.10-server-i386.iso", + "output_directory": "packer-ubuntu-14.10-i386-qemu", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "qemu", + "vm_name": "packer-ubuntu-14.10-i386" } ], "post-processors": [