Sha256: aebb6a6da2ed566ad165053899f16adf1d0fa368b79d81a4ffa66c5d80081405

Contents?: true

Size: 1.97 KB

Versions: 13

Compression:

Stored size: 1.97 KB

Contents

{
    "provisioners": [
        {
            "type": "shell",
            "scripts": [
                "scripts/postinstall.sh",
                "scripts/vmtools.sh",
                <%- @scripts.each do |script| -%>
                "scripts/<%= script %>",
                <%- end -%>
                "scripts/purge.sh"
            ],
            "execute_command": "echo 'vagrant' | {{ .Vars }} sudo -E -S bash '{{ .Path }}'"
        }
    ],

    "builders": [
        {
            "name": "<%= @name %>",
            "type": "<%= @provider %>-iso",
            <%- if @provider == "vmware" -%>
            "guest_os_type": "ubuntu-64",
            "tools_upload_flavor": "linux",
            <%- else -%>
            "guest_os_type": "Ubuntu_64",
            <%- end -%>
            "headless": true,

            "iso_url": "http://releases.ubuntu.com/12.04/ubuntu-12.04.5-server-amd64.iso",
            "iso_checksum": "769474248a3897f4865817446f9a4a53",
            "iso_checksum_type": "md5",

            "ssh_username": "vagrant",
            "ssh_password": "vagrant",
            "ssh_timeout": "15m",

            "http_directory": "templates/ubuntu",

            "boot_command": [
                "<esc><esc><enter><wait>",
                "/install/vmlinuz noapic ",
                "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
                "debian-installer=en_US auto locale=en_US kbd-chooser/method=us ",
                "hostname={{ .Name }} ",
                "fb=false debconf/frontend=noninteractive ",
                "keyboard-configuration/modelcode=SKIP keyboard-configuration/layout=USA ",
                "keyboard-configuration/variant=USA console-setup/ask_detect=false ",
                "initrd=/install/initrd.gz -- <enter>"
            ],

            "shutdown_command": "echo 'shutdown -P now' > shutdown.sh; echo 'vagrant'|sudo -S sh 'shutdown.sh'"
        }
    ],

    "post-processors": [
        {
            "type": "vagrant"
        }
    ]
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
boxes-3.4.0 templates/ubuntu/precise64.erb
boxes-3.3.1 templates/ubuntu/precise64.erb
boxes-3.3.0 templates/ubuntu/precise64.erb
boxes-3.2.0 templates/ubuntu/precise64.erb
boxes-3.1.0 templates/ubuntu/precise64.erb
boxes-3.0.0 templates/ubuntu/precise64.erb
boxes-2.5.0 templates/ubuntu/precise64.erb
boxes-2.4.0 templates/ubuntu/precise64.erb
boxes-2.3.0 templates/ubuntu/precise64.erb
boxes-2.2.0 templates/ubuntu/precise64.erb
boxes-2.1.1 templates/ubuntu/precise64.erb
boxes-2.1.0 templates/ubuntu/precise64.erb
boxes-2.0.2 templates/ubuntu/precise64.erb