Skip to content

Commit

Permalink
Exclude xvm folder in rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-long committed Aug 19, 2024
1 parent 69c626b commit b01b600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup/xvm/build_vm_stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ qemu-system-${vmArch} \
&
sleep 60
ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key xdev@localhost mkdir -p MagAOX
rsync -rv -e 'ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key' ../../ xdev@localhost:MagAOX/
rsync -rv --exclude xvm -e 'ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key' ../../ xdev@localhost:MagAOX/
ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key xdev@localhost 'bash -s' < ./bootstrap_magao-x.sh || exit 1
# wait for the backgrounded qemu process to exit:
wait
Expand Down
2 changes: 1 addition & 1 deletion setup/xvm/build_vm_stage3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ qemu-system-${vmArch} \
$ioFlag \
&
sleep 60
rsync -rv -e 'ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key' ../../ xdev@localhost:MagAOX/
rsync -rv --exclude xvm -e 'ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key' ../../ xdev@localhost:MagAOX/
ssh -p 2201 -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking=no" -i ./output/xvm_key xdev@localhost 'bash -s' < ./install_magao-x_in_vm.sh || exit 1
# wait for the backgrounded qemu process to exit:
wait
Expand Down

0 comments on commit b01b600

Please sign in to comment.