#2299 Make NBDE device configurable, fix it on single-disk openQA hosts
Merged 6 months ago by adamwill. Opened 6 months ago by adamwill.
fedora-infra/ adamwill/ansible nbde-single-disk-fix  into  main

file modified
+2 -1
@@ -190,8 +190,9 @@ 

  nat_rules: []

  # default network block device encryption settings for linux-system-roles/nbde_client

  nbde: true

+ nbde_device: /dev/md2

  nbde_client_bindings:

-   - device: /dev/md2

+   - device: "{{ nbde_device }}"

      encryption_password: "{{ nbde_password }}"

      password_temporary: no

      threshold: 1

@@ -62,3 +62,4 @@ 

  # $ENV{QEMUPORT} = ($options{instance}) * 10 + 20002;

  # so for worker 1 it's 20012, for worker 2 it's 20022, etc etc

  tcp_ports: ['20013', '20023', '20033', '20043', '20053', '20063', '20073', '20083', '20093', '20103', '20113', '20123', '20133', '20143', '20153']

+ nbde_device: /dev/sda3

@@ -62,3 +62,4 @@ 

  # $ENV{QEMUPORT} = ($options{instance}) * 10 + 20002;

  # so for worker 1 it's 20012, for worker 2 it's 20022, etc etc

  tcp_ports: ['20013', '20023', '20033', '20043', '20053', '20063', '20073', '20083', '20093', '20103', '20113', '20123', '20133', '20143', '20153']

+ nbde_device: /dev/sda3