These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
#!/bin/bash | |
id=$(grep "$1" /etc/pve/.rrd | cut -d'/' -f 2 | cut -d':' -f 1) | |
[[ "$id" == '' ]] && echo "The specified LXC does not exist." && exit 1 | |
node=$(grep "^\"$id\":" /etc/pve/.vmlist | cut -d'"' -f 6) | |
[[ $(hostname) != "$node" ]] && pre="ssh -t $node " | |
echo "Entering LXC $id on node $node..." | |
${pre}pct enter $id |