Sha256: 3d786fbe58d385030e6cd0027bcc26d137978eb0a96d5ed3458b8c65ee4444e1

Contents?: true

Size: 2 KB

Versions: 1

Compression:

Stored size: 2 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": "debian7-64",
            "tools_upload_flavor": "linux",
            <%- else -%>
            "guest_os_type": "Debian_64",
            <%- end -%>
            "headless": true,

            "iso_url": "http://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/debian-7.8.0-amd64-netinst.iso",
            "iso_checksum": "e39c36d6adc0fd86c6edb0e03e22919086c883b37ca194d063b8e3e8f6ff6a3a",
            "iso_checksum_type": "sha256",

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

            "http_directory": "templates/debian",

            "boot_command": [
                "<esc><wait>",
                "install ",
                "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
                "debian-installer=en_US auto=true locale=en_US kbd-chooser/method=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 ",
                "keyboard-configuration/xkb-keymap=us ",
                "<enter>"
            ],

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
boxes-2.0.2 templates/debian/wheezy64.erb