update port #68

Merged
astro merged 3 commits from :vps-leon into master 2022-09-26 04:04:14 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 7113edface - Show all commits

View File

@ -388,9 +388,9 @@
echo '${selfRef}' > flake
[ -e old ] && nix store diff-closures ./old ./current
ln -sfT `pwd`/current /nix/var/nix/gcroots/microvm/${name}
ln -sfT `pwd`/booted /nix/var/nix/gcroots/microvm/booted-${name}
ln -sfT `pwd`/old /nix/var/nix/gcroots/microvm/old-${name}
ln -sfT \$PWD/current /nix/var/nix/gcroots/microvm/${name}
ln -sfT \$PWD/booted /nix/var/nix/gcroots/microvm/booted-${name}
ln -sfT \$PWD/old /nix/var/nix/gcroots/microvm/old-${name}
systemctl restart microvm@${name}.service
END

View File

@ -66,7 +66,7 @@ in
copyToServer = writeScript "copy-to-${server}" ''
#! ${runtimeShell} -e
nix copy --to ssh://root@${serverFQDN} $@
nix copy --to ssh-ng://root@${serverFQDN} $@
'';
runOnServer = writeScript "run-on-${server}" ''