From 6f6d2fb226f7e13e534ba897f5562a33c30bcb71 Mon Sep 17 00:00:00 2001 From: Kamil Aronowski Date: Thu, 27 Oct 2022 17:46:39 +0200 Subject: [PATCH] How can I permanently attach a block device to an HVM --- docs/misc/iaq.adoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/misc/iaq.adoc b/docs/misc/iaq.adoc index 078fb5b..b7468aa 100644 --- a/docs/misc/iaq.adoc +++ b/docs/misc/iaq.adoc @@ -242,7 +242,6 @@ Make sure `audit=0` is not present in kernelopts / `/proc/cmdline`. ### How can I permanently attach a block device to an HVM? ### -In 4.0: Have a look at https://dev.qubes-os.org/projects/core-admin/en/latest/libvirt.html @@ -298,3 +297,11 @@ You can put an entry in to /etc/fstab so that the /dev/xvde device will be autom See "source" link [here](https://dev.qubes-os.org/projects/core-admin/en/latest/qubes-vm/qubesvm.html#qubes.vm.qubesvm.QubesVM.start). +# Qubes 4.1 + +### How can I permanently attach a block device to an HVM? ### + +Assuming that block device is labeled as `sdb`, run the following command: +``` +qvm-block attach --persistent sys-net:sdb +```