daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 11th, 2012 11 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  # check whether we have SELinux enabled system
  2.                 args = "/usr/sbin/selinuxenabled"
  3.                 selinuxenabled = sub_process.call(args)
  4.                 if selinuxenabled == 0:
  5.                     # required context type
  6.                     context_type = "virt_image_t" <----- HARD CODED HERE
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top