diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-10-27 13:16:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 13:16:16 +0300 |
commit | 492466c1b5fd8c168cb2a09b9330019f60074195 (patch) | |
tree | 389e0179ae350737bee0b0623543175c008d6d63 /units | |
parent | 342d3ac165680197efe7973efbe08f7eb12b6b11 (diff) | |
parent | 4bb30aeaf8e756b20d66e13af2eac0c5a30b01fa (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')
-rw-r--r-- | units/dev-hugepages.mount | 1 |
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 |