modules/microvm-host: let update-microvm handle more cases
This commit is contained in:
parent
5862adf9ed
commit
a2df57960d
|
@ -89,9 +89,11 @@
|
|||
|
||||
if [ -e booted ]; then
|
||||
nix store diff-closures $(readlink booted) $NEW
|
||||
elif [ -e current ]; then
|
||||
echo "NOT BOOTED! Diffing to old current:"
|
||||
nix store diff-closures $(readlink current) $NEW
|
||||
else
|
||||
echo "NOT BOOTED? Run:"
|
||||
echo systemctl start microvm@$NAME
|
||||
echo "NOT BOOTED?"
|
||||
fi
|
||||
|
||||
CHANGED=no
|
||||
|
|
Loading…
Reference in New Issue