Ubuntu Server: fix the udev* systemd units (re)start

Using a glob requires `--all` in order to work as intended, otherwise, it doesn't start units that are not loaded already.
This commit is contained in:
Saverio Miroddi 2021-06-05 22:25:08 +02:00
parent 69d66322d6
commit 84b4e17edd

View File

@ -920,7 +920,7 @@ function install_host_zfs_packages_UbuntuServer {
umount /lib/modules
rm -r /lib/modules
ln -s /tmp/modules /lib
systemctl start 'systemd-udevd*'
systemctl start --all 'systemd-udevd*'
# Additionally, the linux packages for the running kernel are not installed, at least when
# the standard installation is performed. Didn't test on the HWE option; if it's not required,