kexec-installer: no longer use deprecated <node>.config interface

This commit is contained in:
Jörg Thalheim 2023-01-05 11:12:35 +01:00
parent 312e02e923
commit 7d87a50a20

View file

@ -140,7 +140,7 @@ in makeTest' {
# Kexec node1 to the toplevel of node2 via the kexec-boot script # Kexec node1 to the toplevel of node2 via the kexec-boot script
node1.succeed('touch /run/foo') node1.succeed('touch /run/foo')
node1.fail('hello') node1.fail('hello')
node1.succeed('tar -xf ${nodes.node2.config.system.build.kexecTarball}/nixos-kexec-installer-${pkgs.system}.tar.gz -C /root') node1.succeed('tar -xf ${nodes.node2.system.build.kexecTarball}/nixos-kexec-installer-${pkgs.system}.tar.gz -C /root')
node1.execute('/root/kexec/run') node1.execute('/root/kexec/run')
# wait for machine to kexec # wait for machine to kexec
node1.execute('sleep 9999', check_return=False) node1.execute('sleep 9999', check_return=False)