base: Refactor export mount fact
This commit is contained in:
parent
dff8b4d72b
commit
db91fe6345
2 changed files with 10 additions and 7 deletions
9
roles/base/files/export.fact.sh
Executable file
9
roles/base/files/export.fact.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
if mount | grep -qE "on /export" ; then
|
||||
echo "true"
|
||||
else
|
||||
echo "false"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue