os-brick/os_brick/privileged
Gorka Eguileor ad860f6c4f NVMe-oF: Improve hostnqn creation
This patch improves the creation of the /etc/nvme/hostnqn file by using
the system UUID value we usually already know.

This saves us one or two calls to the nvme-cli command and it also
allows older nvme-cli versions that don't have the `show-hostnqn`
command or have it but can only read from file to generate the same
value every time, which may be useful when running inside a container
under some circumstances.

Change-Id: Ib250d213295695390dbdbb3506cb297a86e95218
(cherry picked from commit 088c676bf5)
(cherry picked from commit 83facbd970)
2024-01-18 09:54:49 +01:00
..
__init__.py Support separate privsep logging levels 2023-01-26 17:02:22 +01:00
lightos.py Lightbits LightOS driver 2022-02-01 18:01:38 +02:00
nvmeof.py NVMe-oF: Improve hostnqn creation 2024-01-18 09:54:49 +01:00
rbd.py mypy: privileged/rbd.py 2022-08-18 18:38:18 +00:00
rootwrap.py Fix encryption symlink issues 2022-05-24 15:01:00 +02:00
scaleio.py Remove VxFlex OS credentials from connection_properties 2020-06-03 11:27:21 +00:00