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:
brprice 2021-07-31 14:54:37 +00:00 committed by GitHub
parent db3405346d
commit 9b0a99f64c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)