Update linode image build script
This commit is contained in:
parent
e872179218
commit
beb3a788cc
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@
|
||||||
pushd /etc/nixos/git
|
pushd /etc/nixos/git
|
||||||
git pull
|
git pull
|
||||||
nix build .#imageConfigurations.nixos-linode-img
|
nix build .#imageConfigurations.nixos-linode-img
|
||||||
|
cp result/nixos.img.gz ~/nixos-linode-`ddate`-`git rev-parse HEAD | cut -b 1-7`.img.gz
|
||||||
|
rm -f result
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
nixos-build-console() {
|
nixos-build-console() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue