We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6a269f commit 739cc2cCopy full SHA for 739cc2c
tmt/tests/booted/test-factory-reset.nu
@@ -41,7 +41,16 @@ def initial_build [] {
41
# nu's cp doesn't have -T
42
/usr/bin/cp -r -T $workdir_root $"($new_stateroot_path)/($workdir_root)"
43
44
- tmt-reboot
+ RUST_LOG=trace bootc status
45
+ sync
46
+ sleep 10sec
47
+ # List bootloader entries
48
+ ls /boot/loader/entries/
49
+
50
+ # Show only title, version, stateroot lines from all entries
51
+ open /boot/loader/entries/* | lines | where ($it =~ 'title|version|stateroot') | each {|l| print $l }
52
53
+ tmt-reboot -c "systemctl reboot || sleep 10; systemctl --force --force reboot || reboot -f"
54
}
55
56
# The second boot; verify we're in the factory reset deployment
0 commit comments