Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # check whether we have SELinux enabled system
- args = "/usr/sbin/selinuxenabled"
- selinuxenabled = sub_process.call(args)
- if selinuxenabled == 0:
- # required context type
- context_type = "virt_image_t" <----- HARD CODED HERE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement