diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2016-09-13 13:18:38 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2018-08-02 13:10:15 +0200 |
commit | fd091394e52cd652ff5163735b2a91a8c0efe415 (patch) | |
tree | 44b656e4320c230f6f8ccdf5a20624776d7f5374 /rules | |
parent | fab2dff96f59e0851884b4ef32dccab763f5eef1 (diff) | |
download | systemd-fd091394e52cd652ff5163735b2a91a8c0efe415.tar.gz |
rules: don't hoplug memory on s390x
Related: #1523227
Diffstat (limited to 'rules')
-rw-r--r-- | rules/40-redhat.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules index 3335fe5075..4c56950dab 100644 --- a/rules/40-redhat.rules +++ b/rules/40-redhat.rules @@ -4,7 +4,7 @@ SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1" # Memory hotadd request -SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" +SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/usr/bin/systemd-detect-virt", RESULT!="zvm", ATTR{state}=="offline", ATTR{state}="online" # reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge" |