Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (93 sloc) 2.98 KB
{
"builders": [
{
"boot_wait": "40s",
"boot_command": [
"echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
"mkdir -m 0700 .ssh<enter>",
"curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>",
"systemctl start sshd<enter>"
],
"http_directory": "scripts",
"iso_checksum_type": "sha256",
"shutdown_command": "shutdown -h now",
"ssh_private_key_file": "./scripts/install_rsa",
"ssh_port": 22,
"ssh_username": "root",
"type": "virtualbox-iso",
"iso_url": "https://releases.nixos.org/nixos/19.03/nixos-19.03.172138.5c52b25283a/nixos-minimal-19.03.172138.5c52b25283a-x86_64-linux.iso",
"iso_checksum": "673bef3040803800ceb42ff7ab2f0a9487848121b10378edce9e64ae7d1e78de",
"guest_additions_mode": "disable",
"guest_os_type": "Linux_64",
"disk_size": 52000,
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1024"
]
]
},
{
"boot_wait": "40s",
"boot_command": [
"echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
"mkdir -m 0700 .ssh<enter>",
"curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>",
"systemctl start sshd<enter>"
],
"http_directory": "scripts",
"iso_checksum_type": "sha256",
"shutdown_command": "shutdown -h now",
"ssh_private_key_file": "./scripts/install_rsa",
"ssh_port": 22,
"ssh_username": "root",
"type": "qemu",
"iso_url": "https://releases.nixos.org/nixos/19.03/nixos-19.03.172138.5c52b25283a/nixos-minimal-19.03.172138.5c52b25283a-x86_64-linux.iso",
"iso_checksum": "673bef3040803800ceb42ff7ab2f0a9487848121b10378edce9e64ae7d1e78de",
"disk_interface": "virtio-scsi",
"qemuargs": [
[
"-m",
"1024"
]
]
},
{
"boot_wait": "40s",
"boot_command": [
"echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
"mkdir -m 0700 .ssh<enter>",
"curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>",
"systemctl start sshd<enter>"
],
"http_directory": "scripts",
"iso_checksum_type": "sha256",
"shutdown_command": "shutdown -h now",
"ssh_private_key_file": "./scripts/install_rsa",
"ssh_port": 22,
"ssh_username": "root",
"type": "vmware-iso",
"iso_url": "https://releases.nixos.org/nixos/19.03/nixos-19.03.172138.5c52b25283a/nixos-minimal-19.03.172138.5c52b25283a-x86_64-linux.iso",
"iso_checksum": "673bef3040803800ceb42ff7ab2f0a9487848121b10378edce9e64ae7d1e78de",
"memory": 1024,
"disk_size": 62000,
"guest_os_type": "Linux"
}
],
"provisioners": [
{
"type": "shell",
"script": "./scripts/install.sh"
}
],
"post-processors": [
[
{
"type": "vagrant",
"keep_input_artifact": false
}
]
]
}
You can’t perform that action at this time.