nixos-rebuild: print run-*-vm location with bootloader (#130385)
Previously when doing a nixos-rebuild build-vm we see a message saying how to run the VM, but with nixos-rebuild build-vm-with-bootloader we did not. We now show it in both cases.
This commit is contained in:
parent
db3405346d
commit
9b0a99f64c
@ -520,7 +520,7 @@ if [ "$action" = switch -o "$action" = boot -o "$action" = test -o "$action" = d
|
||||
fi
|
||||
|
||||
|
||||
if [ "$action" = build-vm ]; then
|
||||
if [ "$action" = build-vm -o "$action" = build-vm-with-bootloader ]; then
|
||||
cat >&2 <<EOF
|
||||
|
||||
Done. The virtual machine can be started by running $(echo $pathToConfig/bin/run-*-vm)
|
||||
|
Loading…
Reference in New Issue
Block a user