Permalink
Browse files

sysprep: On RHEL, firstboot script should be called S99... not 99.

Thanks: Nicholas Strugnell
  • Loading branch information...
rwmjones committed Jul 26, 2013
1 parent 4d2c63a commit 44c5026d9e06cf5f01098608ddd0aa4acb7bb6eb
Showing with 3 additions and 3 deletions.
  1. +3 −3 sysprep/firstboot.ml
View
@@ -111,11 +111,11 @@ and install_sysvinit_redhat g =
g#mkdir_p "/etc/rc.d/rc3.d";
g#mkdir_p "/etc/rc.d/rc5.d";
g#ln_sf (sprintf "%s/firstboot.sh" firstboot_dir)
"/etc/rc.d/rc2.d/99virt-sysprep-firstboot";
"/etc/rc.d/rc2.d/S99virt-sysprep-firstboot";
g#ln_sf (sprintf "%s/firstboot.sh" firstboot_dir)
"/etc/rc.d/rc3.d/99virt-sysprep-firstboot";
"/etc/rc.d/rc3.d/S99virt-sysprep-firstboot";
g#ln_sf (sprintf "%s/firstboot.sh" firstboot_dir)
"/etc/rc.d/rc5.d/99virt-sysprep-firstboot"
"/etc/rc.d/rc5.d/S99virt-sysprep-firstboot"
(* Make firstboot.sh look like a runlevel script to avoid insserv warnings. *)
and install_sysvinit_suse g =

0 comments on commit 44c5026

Please sign in to comment.