mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-06-04 13:09:13 -04:00
DevelopmentWorkflow changed
add copy script
This commit is contained in:
parent
46c25c231b
commit
e591998f4a
1 changed files with 15 additions and 0 deletions
|
@ -76,3 +76,18 @@ mkdir -p $BAK
|
||||||
cp -a /usr/bin/qvm-* /usr/bin/qubes-* $BAK/
|
cp -a /usr/bin/qvm-* /usr/bin/qubes-* $BAK/
|
||||||
sudo cp qvm-tools/qvm-* qvm-tools/qubes-* /usr/bin/
|
sudo cp qvm-tools/qvm-* qvm-tools/qubes-* /usr/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Copy from dom0 to an appvm
|
||||||
|
|
||||||
|
``` {.wiki}
|
||||||
|
#/bin/sh
|
||||||
|
#
|
||||||
|
# usage ./cp-domain <vm_name> <file_to_copy>
|
||||||
|
#
|
||||||
|
domain=$1
|
||||||
|
file=$2
|
||||||
|
fname=`basename $file`
|
||||||
|
|
||||||
|
qvm-run $domain 'mkdir /home/user/incoming/dom0 -p'
|
||||||
|
cat $file| qvm-run --pass-io $domain "cat > /home/user/incoming/dom0/$fname"
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue