Add update-lxc-image to "automate" lxc update

main
Julius 2022-06-06 19:48:45 +02:00
parent eee92ff7f7
commit 9b5a5270b9
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
1 changed files with 3 additions and 0 deletions

3
nixos/update-lxc-image Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/sh
nix build .#register
lxc image import ./result/metadata.tar.xz ./result/lxc.tar.xz security.nesting=true --alias nixos