sysprep: rhn_systemid: delete osad-auth.conf file in RHN configuration

This commit is contained in:
Nicholas Strugnell
2013-07-31 16:24:20 +01:00
committed by Richard W.M. Jones
parent a1e8acc736
commit 94e5ea6b5e

View File

@@ -28,6 +28,7 @@ let rhn_systemid_perform g root =
match typ, distro with
| "linux", "rhel" ->
(try g#rm "/etc/sysconfig/rhn/systemid" with G.Error _ -> ());
(try g#rm "/etc/sysconfig/rhn/osad-auth.conf" with G.Error _ -> ());
[]
| _ -> []