File tree Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -642,12 +642,6 @@ let main () =
642
642
may g#set_smp cmdline.smp;
643
643
g#set_network cmdline.network;
644
644
645
- (* Make sure to turn SELinux off to avoid awkward interactions
646
- * between the appliance kernel and applications/libraries interacting
647
- * with SELinux xattrs.
648
- *)
649
- g#set_selinux false ;
650
-
651
645
(* The output disk is being created, so use cache=unsafe here. *)
652
646
g#add_drive_opts ~format: output_format ~cachemode: " unsafe" output_filename;
653
647
Original file line number Diff line number Diff line change @@ -162,11 +162,6 @@ read the man page virt-customize(1).
162
162
may g#set_memsize memsize;
163
163
may g#set_smp smp;
164
164
g#set_network network;
165
- (* Make sure to turn SELinux off to avoid awkward interactions
166
- * between the appliance kernel and applications/libraries interacting
167
- * with SELinux xattrs.
168
- *)
169
- g#set_selinux false ;
170
165
171
166
(* Add disks. *)
172
167
add g dryrun;
Original file line number Diff line number Diff line change @@ -634,12 +634,6 @@ let main () =
634
634
may g#set_smp cmdline.smp;
635
635
g#set_network cmdline.network;
636
636
637
- (* Make sure to turn SELinux off to avoid awkward interactions
638
- * between the appliance kernel and applications/libraries interacting
639
- * with SELinux xattrs.
640
- *)
641
- g#set_selinux false ;
642
-
643
637
(* Main disk with the built image. *)
644
638
let fmt = " raw" in
645
639
let fn =
Original file line number Diff line number Diff line change 105
105
# Create a filesystem that could support xattrs and SELinux labels.
106
106
my $g = Sys::Guestfs-> new ();
107
107
108
- # $g->set_selinux (1) if $test_type eq "selinux";
109
-
110
108
$g -> add_drive_scratch (256*1024*1024);
111
109
$g -> launch ();
112
110
You can’t perform that action at this time.
0 commit comments