mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
chore: update caddy's vm image path, checksum when uploading
This commit is contained in:
4
utils.nu
4
utils.nu
@@ -68,7 +68,7 @@ export def upload-vm [
|
||||
nix build $target
|
||||
}
|
||||
|
||||
let remote = $"root@rakushun:/var/lib/caddy/fileserver/vms/kubevirt-($name).qcow2"
|
||||
rsync -avz --progress --copy-links result $remote
|
||||
let remote = $"ryan@rakushun:/data/caddy/fileserver/vms/kubevirt-($name).qcow2"
|
||||
rsync -avz --progress --copy-links --checksum result $remote
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user