feat: several updates
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
IP_SUFFIX=$((CONTID - 1000))
|
||||
# TODO Verify mapping exists...
|
||||
echo "Redeploying LXC on container '$1' ('$CONTID')"
|
||||
nixos-rebuild switch --impure --flake .#$1 --target-host root@${globals.ip_prefix}$IP_SUFFIX
|
||||
nixos-rebuild switch --impure --show-trace --flake .#$1 --target-host root@$1${globals.domains.internal}
|
||||
echo "Done."
|
||||
else
|
||||
echo "Error: Container definition 'containers/$1.nix' not found!"
|
||||
|
||||
Reference in New Issue
Block a user