From 761bc06458e96db8c567e5f240d58b959ebc9edf Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 9 Mar 2022 09:30:49 +0100 Subject: [PATCH] Document extra disks for assisted It no longer has to be a manual step. Also correct the actual names: since the primary disk is /dev/sda, the secondary disks (still using virtio) will be /dev/vda and /dev/vdb. --- docs/assisted-deployment.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/assisted-deployment.md b/docs/assisted-deployment.md index 6bc8ce644..1035505f9 100644 --- a/docs/assisted-deployment.md +++ b/docs/assisted-deployment.md @@ -8,13 +8,15 @@ the Assisted Service documentation for more information about its architecture a Pre-requisites == -2 disks need to be created and added to the worker nodes. This can be done either using -`virt-manager` or libvirt directly. The disks should be of, at least, 10GB each and they should be -attached to the `/dev/sdb` and `/dev/sdc` devices respectively. Please update -`assisted_deployment.sh` if this is not the case. - -Note that there is work in progress to automate the disk creations and the device name -configuration. More info in [this issue](https://github.com/openshift-metal3/dev-scripts/issues/1228) +2 disks need to be created and added to the worker nodes. The disks should be +of, at least, 10GB each. Set the following variables in your `config.sh` +before configuring the development environment: + +```bash +export VM_EXTRADISKS=true +export VM_EXTRADISKS_LIST="vda vdb" +export VM_EXTRADISKS_SIZE="10G" +``` Assisted in dev script ==