summaryrefslogtreecommitdiff
path: root/units/dev-hugepages.mount
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-10-27 13:16:16 +0300
committerGitHub <noreply@github.com>2016-10-27 13:16:16 +0300
commit492466c1b5fd8c168cb2a09b9330019f60074195 (patch)
tree389e0179ae350737bee0b0623543175c008d6d63 /units/dev-hugepages.mount
parent342d3ac165680197efe7973efbe08f7eb12b6b11 (diff)
parent4bb30aeaf8e756b20d66e13af2eac0c5a30b01fa (diff)
Merge pull request #4442 from keszybz/detect-virt-userns
detect-virt: add --private-users switch to check if a userns is active; add Condition=private-users
Diffstat (limited to 'units/dev-hugepages.mount')
-rw-r--r--units/dev-hugepages.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/dev-hugepages.mount b/units/dev-hugepages.mount
index 882adb4545..489cc777e4 100644
--- a/units/dev-hugepages.mount
+++ b/units/dev-hugepages.mount
@@ -13,6 +13,7 @@ DefaultDependencies=no
Before=sysinit.target
ConditionPathExists=/sys/kernel/mm/hugepages
ConditionCapability=CAP_SYS_ADMIN
+ConditionVirtualization=!private-users
[Mount]
What=hugetlbfs