Sha256: 4c31e9e6f0c918153ee83352e9d1a5005a1a0c82bc0ba919cbca057872ddc1cb

Contents?: true

Size: 1.99 KB

Versions: 1

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

            "iso_url": "https://cdimage.debian.org/debian-cd/9.4.0/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso",
            "iso_checksum": "124d270006703f2111224dec3bf7a9d01450168be41d4834f88fdd035552b044",
            "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-3.3.1 templates/debian/stretch64.erb