Sha256: 203494b1befd98e2c7dd7121fc04c73dbb83b1c6d44518f20d2c6b4f0ac019d7

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 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/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso",
            "iso_checksum": "9479c5c2df72ae3878116c43fb42eefae53d1fe363ce514a6afc8289064b9f5f",
            "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

2 entries across 2 versions & 1 rubygems

Version Path
boxes-2.5.0 templates/debian/jessie64.erb
boxes-2.4.0 templates/debian/jessie64.erb