diff --git a/README.md b/README.md index a0b291e7b..5bac973f8 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ These baseboxes were all built using a Mac OS X host running VirtualBox 4.3.16, * [opscode-ubuntu-12.04](http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box) * [opscode-ubuntu-14.04-i386](http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04-i386_chef-provisionerless.box) * [opscode-ubuntu-14.04](http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box) +* [opscode-ubuntu-14.10-i386](http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.10-i386_chef-provisionerless.box) +* [opscode-ubuntu-14.10](http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.10_chef-provisionerless.box) ### VMWare @@ -80,6 +82,8 @@ these boxes. Using `--provider vmware_fusion`, will not. * [opscode-ubuntu-12.04](http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-12.04_chef-provisionerless.box) * [opscode-ubuntu-14.04-i386](http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-14.04-i386_chef-provisionerless.box) * [opscode-ubuntu-14.04](http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-14.04_chef-provisionerless.box) +* [opscode-ubuntu-14.10-i386](http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-14.10-i386_chef-provisionerless.box) +* [opscode-ubuntu-14.10](http://opscode-vm-bento.s3.amazonaws.com/vagrant/vmware/opscode_ubuntu-14.10_chef-provisionerless.box) ## Older Baseboxes diff --git a/packer/http/ubuntu-14.10/preseed.cfg b/packer/http/ubuntu-14.10/preseed.cfg new file mode 100644 index 000000000..0a4d4939b --- /dev/null +++ b/packer/http/ubuntu-14.10/preseed.cfg @@ -0,0 +1,31 @@ +choose-mirror-bin mirror/http/proxy string +d-i base-installer/kernel/override-image string linux-server +d-i clock-setup/utc boolean true +d-i clock-setup/utc-auto boolean true +d-i finish-install/reboot_in_progress note +d-i grub-installer/only_debian boolean true +d-i grub-installer/with_other_os boolean true +d-i partman-auto-lvm/guided_size string max +d-i partman-auto/choose_recipe select atomic +d-i partman-auto/method string lvm +d-i partman-lvm/confirm boolean true +d-i partman-lvm/confirm boolean true +d-i partman-lvm/confirm_nooverwrite boolean true +d-i partman-lvm/device_remove_lvm boolean true +d-i partman/choose_partition select finish +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman/confirm_write_new_label boolean true +d-i passwd/user-fullname string vagrant +d-i passwd/user-uid string 900 +d-i passwd/user-password password vagrant +d-i passwd/user-password-again password vagrant +d-i passwd/username string vagrant +d-i pkgsel/include string openssh-server cryptsetup build-essential libssl-dev libreadline-dev zlib1g-dev linux-source dkms nfs-common +d-i pkgsel/install-language-support boolean false +d-i pkgsel/update-policy select unattended-upgrades +d-i pkgsel/upgrade select full-upgrade +d-i time/zone string UTC +d-i user-setup/allow-password-weak boolean true +d-i user-setup/encrypt-home boolean false +tasksel tasksel/first multiselect standard, ubuntu-server diff --git a/packer/ubuntu-14.10-amd64.json b/packer/ubuntu-14.10-amd64.json new file mode 100644 index 000000000..e70f4f64a --- /dev/null +++ b/packer/ubuntu-14.10-amd64.json @@ -0,0 +1,196 @@ +{ + "builders": [ + { + "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, + "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", + "guest_os_type": "Ubuntu_64", + "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-virtualbox", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "virtualbox-iso", + "vboxmanage": [ + [ + "modifyvm", + "{{.Name}}", + "--memory", + "384" + ], + [ + "modifyvm", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "virtualbox_version_file": ".vbox_version", + "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, + "guest_os_type": "ubuntu-64", + "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-vmware", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "tools_upload_flavor": "linux", + "type": "vmware-iso", + "vm_name": "packer-ubuntu-14.10-amd64", + "vmx_data": { + "cpuid.coresPerSocket": "1", + "memsize": "384", + "numvcpus": "1" + } + }, + { + "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, + "parallels_tools_flavor": "lin", + "guest_os_type": "ubuntu", + "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-parallels", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "parallels-iso", + "prlctl": [ + [ + "set", + "{{.Name}}", + "--memsize", + "384" + ], + [ + "set", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "prlctl_version_file": ".prlctl_version", + "vm_name": "packer-ubuntu-14.10-amd64" + } + + ], + "post-processors": [ + { + "output": "../builds/{{.Provider}}/opscode_ubuntu-14.10_chef-{{user `chef_version`}}.box", + "type": "vagrant" + } + ], + "provisioners": [ + { + "environment_vars": [ + "CHEF_VERSION={{user `chef_version`}}" + ], + "execute_command": "echo 'vagrant'|{{.Vars}} sudo -S -E bash '{{.Path}}'", + "scripts": [ + "scripts/ubuntu/update.sh", + "scripts/common/sshd.sh", + "scripts/ubuntu/networking.sh", + "scripts/ubuntu/sudoers.sh", + "scripts/common/vagrant.sh", + "scripts/common/vmtools.sh", + "scripts/common/chef.sh", + "scripts/ubuntu/cleanup.sh", + "scripts/common/minimize.sh" + ], + "type": "shell" + } + ], + "variables": { + "chef_version": "provisionerless", + "mirror": "http://releases.ubuntu.com" + } +} diff --git a/packer/ubuntu-14.10-i386.json b/packer/ubuntu-14.10-i386.json new file mode 100644 index 000000000..5d43b2fd6 --- /dev/null +++ b/packer/ubuntu-14.10-i386.json @@ -0,0 +1,196 @@ +{ + "builders": [ + { + "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, + "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", + "guest_os_type": "Ubuntu", + "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-virtualbox", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "virtualbox-iso", + "vboxmanage": [ + [ + "modifyvm", + "{{.Name}}", + "--memory", + "384" + ], + [ + "modifyvm", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "virtualbox_version_file": ".vbox_version", + "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, + "guest_os_type": "ubuntu", + "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-vmware", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "tools_upload_flavor": "linux", + "type": "vmware-iso", + "vm_name": "packer-ubuntu-14.10-i386", + "vmx_data": { + "cpuid.coresPerSocket": "1", + "memsize": "384", + "numvcpus": "1" + } + }, + { + "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, + "parallels_tools_flavor": "lin", + "guest_os_type": "ubuntu", + "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-parallels", + "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now", + "ssh_password": "vagrant", + "ssh_port": 22, + "ssh_username": "vagrant", + "ssh_wait_timeout": "10000s", + "type": "parallels-iso", + "prlctl": [ + [ + "set", + "{{.Name}}", + "--memsize", + "384" + ], + [ + "set", + "{{.Name}}", + "--cpus", + "1" + ] + ], + "prlctl_version_file": ".prlctl_version", + "vm_name": "packer-ubuntu-14.10-i386" + } + + ], + "post-processors": [ + { + "output": "../builds/{{.Provider}}/opscode_ubuntu-14.10-i386_chef-{{user `chef_version`}}.box", + "type": "vagrant" + } + ], + "provisioners": [ + { + "environment_vars": [ + "CHEF_VERSION={{user `chef_version`}}" + ], + "execute_command": "echo 'vagrant'|{{.Vars}} sudo -S -E bash '{{.Path}}'", + "scripts": [ + "scripts/ubuntu/update.sh", + "scripts/common/sshd.sh", + "scripts/ubuntu/networking.sh", + "scripts/ubuntu/sudoers.sh", + "scripts/common/vagrant.sh", + "scripts/common/vmtools.sh", + "scripts/common/chef.sh", + "scripts/ubuntu/cleanup.sh", + "scripts/common/minimize.sh" + ], + "type": "shell" + } + ], + "variables": { + "chef_version": "provisionerless", + "mirror": "http://releases.ubuntu.com" + } +}