File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -15,26 +15,28 @@ global:
15
15
iso_location : releases
16
16
17
17
iso_filename : nixos-minimal-$${release}.$${release_minor_and_hash}-$${arch}-linux.iso
18
- iso_url : http://nixos.org/$${iso_location}/nixos/$${release}-small/nixos-$${release}.$${release_minor_and_hash}/$${iso_filename}
18
+ # iso_url: http://nixos.org/$${iso_location}/nixos/$${release}-small/nixos-$${release}.$${release_minor_and_hash}/$${iso_filename}
19
+ iso_url : file:///home/neyron/scm/OAR/kameleon-recipes/build/$${iso_filename}
19
20
iso_path : $${kameleon_cwd}/$${distrib}.iso
20
21
21
- image_format : raw
22
22
qemu_sendkeys_commands : $${kameleon_data_dir}/qemu-sendkeys/netinst-iso-$${distrib}
23
+ qemu_memory_size : 2048
23
24
24
- autoinstall_script_path : $${kameleon_data_dir}/$${distrib}-autoinstall.sh
25
+ autoinstall_script_path : $${kameleon_data_dir}/nixos/ $${distrib}-autoinstall.sh
25
26
root_password : root
26
27
# wait for a full boot before run autoinstall script
27
28
boot_timeout : 20
28
29
29
30
# override this configuration by adding yours to this folder
30
31
# ./step/data/configuration.nix
31
- nix_hardware_configuration : $${kameleon_data_dir}/hardware-configuration.nix
32
- nix_configuration : $${kameleon_data_dir}/configuration.nix
32
+ nix_hardware_configuration : $${kameleon_data_dir}/nixos/ hardware-configuration.nix
33
+ nix_configuration : $${kameleon_data_dir}/nixos/ configuration.nix
33
34
34
35
bootstrap :
35
36
- enable_checkpoint
36
37
- download_iso
37
38
- prepare_disk
39
+ - prepare_ssh_to_out_context
38
40
- prepare_autoinstall
39
41
- start_http_server
40
42
- start_qemu :
@@ -46,6 +48,7 @@ bootstrap:
46
48
47
49
setup :
48
50
- " @base"
51
+ - breakpoint
49
52
50
53
export :
51
54
- " @base"
Original file line number Diff line number Diff line change 1
- curl -sSL http://%LOCAL_IP%:%HTTP_PORT%/configuration.nix <gt> /tmp/configuration.nix<kp_enter>curl -sSL http://%LOCAL_IP%:%HTTP_PORT%/hardware-configuration.nix <gt> /tmp/hardware-configuration.nix <kp_enter>curl -sSL http://%LOCAL_IP%:%HTTP_PORT%/autoinstall.sh | sudo bash<kp_enter>
2
-
1
+ sudo -i<kp_enter>cd /etc/pam.d/<kp_enter>sed -i -e 's/^\(account.\+pam_unix\.so.\*\)$/\1 nullok/' sshd > sshd.new<kp_enter>rm sshd<kp_enter>mv sshd.new sshd<kp_enter>systemctl start sshd<kp_enter>
You can’t perform that action at this time.
0 commit comments