summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Redhat.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-07-23 02:35:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-07-23 02:35:15 +0000
commit95a2cbd2ca081125544add2c9809639c420094b0 (patch)
tree6e93de082f70535e0067439d9687c21514f6dcde /src/lib/Client/Redhat.py
parent6c4b09dd17c33abd57703bd6e32ca59c21bf0978 (diff)
downloadbcfg2-95a2cbd2ca081125544add2c9809639c420094b0.tar.gz
bcfg2-95a2cbd2ca081125544add2c9809639c420094b0.tar.bz2
bcfg2-95a2cbd2ca081125544add2c9809639c420094b0.zip
kill --level in chkconfig call
(Logical change 1.270) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1097 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Redhat.py')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index ad417aa82..ffcd2c003 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -54,7 +54,7 @@ class Redhat(Toolset):
if self.setup['dryrun']:
print "Disabling server %s" % (entry.get('name'))
else:
- cmdrc = system("/sbin/chkconfig --level 0123456 %s %s" % (entry.attrib['name'], entry.attrib['status']))
+ cmdrc = system("/sbin/chkconfig %s %s" % (entry.attrib['name'], entry.attrib['status']))
else:
if self.setup['dryrun']:
print "Enabling server %s" % (entry.get('name'))