Skip to content

Commit 4e66f2a

Browse files
committed
Add instruction how to install systemd-resolved
Signed-off-by: Volker Theile <[email protected]>
1 parent 90fec65 commit 4e66f2a

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

installation/on_debian.rst

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,28 @@ instructions only partially work. Please refer to a specific `installation scrip
4242
.. note::
4343
The following commands must be executed as ``root`` user.
4444

45-
Install the |omv| keyring manually::
45+
Install and configure the `systemd-resolved` if not already installed. The
46+
configuration is only temporary and gets lost after a reboot.
47+
After the installation of the |omv| package, this can be made permanently by
48+
reconfiguring the network using the :command:`omv-firstaid` command.
49+
50+
.. code-block:: bash
51+
52+
apt-get install --yes systemd-resolved
53+
systemctl enable systemd-resolved
54+
systemctl start systemd-resolved
55+
resolvectl dns <INTERFACE> <DNS_SERVER_IP>
56+
57+
Install the |omv| keyring manually:
58+
59+
.. code-block:: bash
4660
4761
apt-get install --yes gnupg
4862
wget --quiet --output-document=- https://packages.openmediavault.org/public/archive.key | gpg --dearmor --yes --output "/usr/share/keyrings/openmediavault-archive-keyring.gpg"
4963
50-
Add the package repositories::
64+
Add the |omv| package repositories:
65+
66+
.. code-block:: bash
5167
5268
cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
5369
deb [signed-by=/usr/share/keyrings/openmediavault-archive-keyring.gpg] https://packages.openmediavault.org/public sandworm main
@@ -64,7 +80,9 @@ Add the package repositories::
6480
.. note::
6581
If you are a user in mainland China, TUNA provides `mirroring services <https://mirrors.tuna.tsinghua.edu.cn/help/OpenMediaVault/>`_.
6682
67-
Install the |omv| package::
83+
Install the |omv| package:
84+
85+
.. code-block:: bash
6886
6987
export LANG=C.UTF-8
7088
export DEBIAN_FRONTEND=noninteractive
@@ -77,7 +95,9 @@ Install the |omv| package::
7795
--option DPkg::Options::="--force-confold" \
7896
install openmediavault
7997
80-
Populate the |omv| database with several existing system settings, e.g. the network configuration::
98+
Populate the |omv| database with several existing system settings, e.g. the network configuration:
99+
100+
.. code-block:: bash
81101
82102
omv-confdbadm populate
83103
@@ -88,7 +108,9 @@ Populate the |omv| database with several existing system settings, e.g. the netw
88108
configuration with `netplan` for `systemd-networkd` and `systemd-resolved`. In that case use
89109
`omv-firstaid` to do the initial network configuration instead of the following step.
90110
91-
Re-deploy the network configuration via the services used by |omv|::
111+
Re-deploy the network configuration via the services used by |omv|:
112+
113+
.. code-block:: bash
92114
93115
omv-salt deploy run systemd-networkd
94116

0 commit comments

Comments
 (0)