- # 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
SHARE
TWEET
Untitled
a guest
Jan 11th, 2012
11
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

