mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 02:41:54 +00:00
Merge pull request #683 from Kubuxu/patch-1
arch template: Fix systemd-sysctl service
This commit is contained in:
commit
208a29f10c
@ -103,6 +103,10 @@ sed -e 's/^ConditionPathExists=/# ConditionPathExists=/' \
|
||||
-e 's/After=dev-%i.device/After=/' \
|
||||
< /lib/systemd/system/getty\@.service \
|
||||
> /etc/systemd/system/getty\@.service
|
||||
# fix systemd-sysctl service
|
||||
sed -e 's/^ConditionPathIsReadWrite=\/proc\/sys\/$/ConditionPathIsReadWrite=\/proc\/sys\/net\//' \
|
||||
-e 's/^ExecStart=\/usr\/lib\/systemd\/systemd-sysctl$/ExecStart=\/usr\/lib\/systemd\/systemd-sysctl --prefix net/' \
|
||||
-i /usr/lib/systemd/system/systemd-sysctl.service
|
||||
# initialize pacman keyring
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
|
Loading…
Reference in New Issue
Block a user