{ "builders": [ { "boot_command": [ "", "", "root", "", "stop sshd", "", "fdisk /dev/sda", "", "n", "", "a", "", "1", "", "w", "", "mkfs.ext4 -j -L nixos /dev/sda1", "", "mount LABEL=nixos /mnt", "", "nixos-option --install", "", "curl http://{{ .HTTPIP }}:{{ .HTTPPort }}/configuration.nix > /mnt/etc/nixos/configuration.nix \u0026\u0026", "", "nixos-install \u0026\u0026", "", "reboot", "" ], "boot_wait": "5s", "disk_size": 20400, "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso", "guest_os_type": "Linux26", "http_directory": "http", "iso_checksum": "b1a78fc1b72ea1a19957cb1422817ab6", "iso_checksum_type": "md5", "iso_url": "http://nixos.org/releases/nixos/nixos-13.07pre4871_18de9f6-3c35dae/nixos-minimal-13.07pre4871_18de9f6-3c35dae-i686-linux.iso", "shutdown_command": "sudo shutdown -h now", "ssh_password": "vagrant", "ssh_port": 22, "ssh_username": "vagrant", "ssh_wait_timeout": "10000s", "type": "virtualbox", "vboxmanage": [ [ "modifyvm", "{{.Name}}", "--memory", "256" ], [ "modifyvm", "{{.Name}}", "--cpus", "1" ] ], "virtualbox_version_file": ".vbox_version" } ], "provisioners": [ { "override": { "virtualbox": { "execute_command": "sudo '{{.Path}}'" } }, "scripts": [ "scripts/postinstall.sh" ], "type": "shell" } ] }