Sha256: ec50627c268589732a2d10503f39496da3765314dda205ebe758c2b3a145beab

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 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/trusty/ubuntu-14.04.3-server-amd64.iso",
            "iso_checksum": "9e5fecc94b3925bededed0fdca1bd417",
            "iso_checksum_type": "md5",

            "ssh_username": "vagrant",
            "ssh_password": "vagrant",

            "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

2 entries across 2 versions & 1 rubygems

Version Path
boxes-2.0.1 templates/ubuntu/trusty64.erb
boxes-2.0.0 templates/ubuntu/trusty64.erb