Add Archlinux "distribution" fact
This commit is contained in:
parent
ff3ffd21b4
commit
725dd43fca
1 changed files with 2 additions and 1 deletions
3
system/setup
Normal file → Executable file
3
system/setup
Normal file → Executable file
|
@ -115,7 +115,8 @@ class Facts(object):
|
||||||
'/etc/openwrt_release': 'OpenWrt',
|
'/etc/openwrt_release': 'OpenWrt',
|
||||||
'/etc/system-release': 'OtherLinux',
|
'/etc/system-release': 'OtherLinux',
|
||||||
'/etc/alpine-release': 'Alpine',
|
'/etc/alpine-release': 'Alpine',
|
||||||
'/etc/release': 'Solaris' }
|
'/etc/release': 'Solaris',
|
||||||
|
'/etc/arch-release': 'Archlinux' }
|
||||||
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
|
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
|
||||||
|
|
||||||
# A list of dicts. If there is a platform with more than one
|
# A list of dicts. If there is a platform with more than one
|
||||||
|
|
Loading…
Reference in a new issue