mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-10-16 12:31:00 -04:00
Merge branch 'code_block_prompts_full' into rst
This commit is contained in:
commit
ff68e782c8
30 changed files with 98 additions and 97 deletions
|
@ -71,8 +71,9 @@ The Qubes backup system has been designed with emergency disaster recovery in mi
|
|||
|
||||
**Note:** For multi-part files, a loop can be used:
|
||||
|
||||
.. code:: console
|
||||
.. code:: bash
|
||||
|
||||
#!/bin/sh
|
||||
find -name 'private.img.*' | sort -V | while read f; do
|
||||
openssl enc -d -md MD5 -pass pass:"$backup_pass" -aes-256-cbc -in $f -out
|
||||
${f/.img/.img.dec}
|
||||
|
|
|
@ -81,6 +81,6 @@ Note that you can use the same method to copy files from dom0 to domUs (if, for
|
|||
|
||||
.. code:: console
|
||||
|
||||
cat /path/to/file_in_dom0 | qvm-run --pass-io <dest-vm> 'cat > /path/to/file_name_in_appvm'
|
||||
$ cat /path/to/file_in_dom0 | qvm-run --pass-io <dest-vm> 'cat > /path/to/file_name_in_appvm'
|
||||
|
||||
|
||||
|
|
|
@ -281,7 +281,7 @@ The updates proxy uses RPC/qrexec. The proxy is configured in qrexec policy in d
|
|||
|
||||
Example policy file in R4.1 (with Whonix installed, but not set as default UpdateVM for all templates):
|
||||
|
||||
.. code:: console
|
||||
.. code:: text
|
||||
|
||||
# any VM with tag `whonix-updatevm` should use `sys-whonix`; this tag is added to `whonix-gw` and `whonix-ws` during installation and is preserved during template clone
|
||||
@tag:whonix-updatevm @default allow,target=sys-whonix
|
||||
|
|
|
@ -62,7 +62,7 @@ In case of a USB-drive, make sure it’s attached to your computer. If you don
|
|||
|
||||
This will list all available block devices in your system across all VMs. The name of the qube hosting the block device is displayed before the colon in the device ID. The string after the colon is the ID of the device used within the qube, like so:
|
||||
|
||||
.. code:: console
|
||||
.. code:: output
|
||||
|
||||
sourceVM:sdb Cruzer () 4GiB
|
||||
sourceVM:sdb1 Disk () 2GiB
|
||||
|
@ -127,7 +127,7 @@ To recover from this error state, in dom0 run
|
|||
|
||||
.. code:: console
|
||||
|
||||
virsh detach-disk targetVM xvdi
|
||||
$ virsh detach-disk targetVM xvdi
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ To find the right controller, follow the usb bus:
|
|||
|
||||
.. code:: console
|
||||
|
||||
readlink /sys/bus/usb/devices/usb3
|
||||
$ readlink /sys/bus/usb/devices/usb3
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue