|
9 | 9 | "boot_command": [
|
10 | 10 | "echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
|
11 | 11 | "mkdir -m 0700 .ssh<enter>",
|
12 |
| - "curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>", |
| 12 | + "curl $(cat .packer_http)/install_key.pub > .ssh/authorized_keys<enter>", |
13 | 13 | "sudo systemctl start sshd<enter>"
|
14 | 14 | ],
|
15 | 15 | "http_directory": "scripts",
|
16 | 16 | "shutdown_command": "sudo shutdown -h now",
|
17 |
| - "ssh_private_key_file": "./scripts/install_rsa", |
| 17 | + "ssh_private_key_file": "./scripts/install_key", |
18 | 18 | "ssh_port": 22,
|
19 | 19 | "ssh_username": "nixos",
|
20 | 20 | "headless": true,
|
21 | 21 | "type": "virtualbox-iso",
|
22 |
| - "iso_url": "https://releases.nixos.org/nixos/21.05/nixos-21.05.3443.ee90403e147/nixos-minimal-21.05.3443.ee90403e147-x86_64-linux.iso", |
23 |
| - "iso_checksum": "7fec8949043bca97c6930177af868532219aa4037017f2f6122094035eeafb1c", |
| 22 | + "iso_url": "https://channels.nixos.org/nixos-21.11/latest-nixos-minimal-x86_64-linux.iso", |
| 23 | + "iso_checksum": "7cb910f01993cdbbaae87ab54e5317be28a268c0ef71f6c919ab759f2a9f00e2", |
24 | 24 | "guest_additions_mode": "disable",
|
25 | 25 | "format": "ova",
|
26 | 26 | "guest_os_type": "Linux_64",
|
|
43 | 43 | "boot_command": [
|
44 | 44 | "echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
|
45 | 45 | "mkdir -m 0700 .ssh<enter>",
|
46 |
| - "curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>", |
| 46 | + "curl $(cat .packer_http)/install_key.pub > .ssh/authorized_keys<enter>", |
47 | 47 | "sudo systemctl start sshd<enter>"
|
48 | 48 | ],
|
49 | 49 | "http_directory": "scripts",
|
50 | 50 | "shutdown_command": "sudo shutdown -h now",
|
51 |
| - "ssh_private_key_file": "./scripts/install_rsa", |
| 51 | + "ssh_private_key_file": "./scripts/install_key", |
52 | 52 | "ssh_port": 22,
|
53 | 53 | "ssh_username": "nixos",
|
54 | 54 | "headless": true,
|
55 | 55 | "type": "qemu",
|
56 |
| - "iso_url": "https://releases.nixos.org/nixos/21.05/nixos-21.05.3443.ee90403e147/nixos-minimal-21.05.3443.ee90403e147-x86_64-linux.iso", |
57 |
| - "iso_checksum": "7fec8949043bca97c6930177af868532219aa4037017f2f6122094035eeafb1c", |
| 56 | + "iso_url": "https://channels.nixos.org/nixos-21.11/latest-nixos-minimal-x86_64-linux.iso", |
| 57 | + "iso_checksum": "7cb910f01993cdbbaae87ab54e5317be28a268c0ef71f6c919ab759f2a9f00e2", |
58 | 58 | "disk_interface": "virtio-scsi",
|
59 | 59 | "disk_size": "{{ user `disk_size` }}",
|
60 | 60 | "format": "qcow2",
|
|
70 | 70 | "boot_command": [
|
71 | 71 | "echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
|
72 | 72 | "mkdir -m 0700 .ssh<enter>",
|
73 |
| - "curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>", |
| 73 | + "curl $(cat .packer_http)/install_key.pub > .ssh/authorized_keys<enter>", |
74 | 74 | "sudo su --<enter>",
|
75 | 75 | "nix-env -iA nixos.linuxPackages.hyperv-daemons<enter><wait10>",
|
76 | 76 | "$(find /nix/store -executable -iname 'hv_kvp_daemon' | head -n 1)<enter><wait10>",
|
77 | 77 | "systemctl start sshd<enter>"
|
78 | 78 | ],
|
79 | 79 | "http_directory": "scripts",
|
80 | 80 | "shutdown_command": "sudo shutdown -h now",
|
81 |
| - "ssh_private_key_file": "./scripts/install_rsa", |
| 81 | + "ssh_private_key_file": "./scripts/install_key", |
82 | 82 | "ssh_port": 22,
|
83 | 83 | "ssh_username": "nixos",
|
84 | 84 | "headless": true,
|
85 | 85 | "type": "hyperv-iso",
|
86 | 86 | "generation": 1,
|
87 |
| - "iso_url": "https://releases.nixos.org/nixos/21.05/nixos-21.05.3443.ee90403e147/nixos-minimal-21.05.3443.ee90403e147-x86_64-linux.iso", |
88 |
| - "iso_checksum": "7fec8949043bca97c6930177af868532219aa4037017f2f6122094035eeafb1c", |
| 87 | + "iso_url": "https://channels.nixos.org/nixos-21.11/latest-nixos-minimal-x86_64-linux.iso", |
| 88 | + "iso_checksum": "7cb910f01993cdbbaae87ab54e5317be28a268c0ef71f6c919ab759f2a9f00e2", |
89 | 89 | "memory": "{{ user `memory` }}",
|
90 | 90 | "disk_size": "{{ user `disk_size` }}",
|
91 | 91 | "enable_secure_boot": false,
|
|
99 | 99 | "boot_command": [
|
100 | 100 | "echo http://{{ .HTTPIP }}:{{ .HTTPPort}} > .packer_http<enter>",
|
101 | 101 | "mkdir -m 0700 .ssh<enter>",
|
102 |
| - "curl $(cat .packer_http)/install_rsa.pub > .ssh/authorized_keys<enter>", |
| 102 | + "curl $(cat .packer_http)/install_key.pub > .ssh/authorized_keys<enter>", |
103 | 103 | "sudo systemctl start sshd<enter>"
|
104 | 104 | ],
|
105 | 105 | "http_directory": "scripts",
|
106 | 106 | "shutdown_command": "sudo shutdown -h now",
|
107 |
| - "ssh_private_key_file": "./scripts/install_rsa", |
| 107 | + "ssh_private_key_file": "./scripts/install_key", |
108 | 108 | "ssh_port": 22,
|
109 | 109 | "ssh_username": "nixos",
|
110 | 110 | "headless": true,
|
111 | 111 | "type": "vmware-iso",
|
112 |
| - "iso_url": "https://releases.nixos.org/nixos/21.05/nixos-21.05.3443.ee90403e147/nixos-minimal-21.05.3443.ee90403e147-x86_64-linux.iso", |
113 |
| - "iso_checksum": "7fec8949043bca97c6930177af868532219aa4037017f2f6122094035eeafb1c", |
| 112 | + "iso_url": "https://channels.nixos.org/nixos-21.11/latest-nixos-minimal-x86_64-linux.iso", |
| 113 | + "iso_checksum": "7cb910f01993cdbbaae87ab54e5317be28a268c0ef71f6c919ab759f2a9f00e2", |
114 | 114 | "memory": "{{ user `memory` }}",
|
115 | 115 | "disk_size": "{{ user `disk_size` }}",
|
116 | 116 | "guest_os_type": "Linux"
|
|
133 | 133 | "qemu",
|
134 | 134 | "hyperv-iso"
|
135 | 135 | ],
|
136 |
| - "output": "nixos-21.05-{{.Provider}}-x86_64.box" |
| 136 | + "output": "nixos-21.11-{{.Provider}}-x86_64.box" |
137 | 137 | }
|
138 | 138 | ]
|
139 | 139 | ]
|
|
0 commit comments