Start the DS and KDC on boot

This commit is contained in:
rcritten@redhat.com 2007-08-09 13:44:32 -04:00
parent 34b439e838
commit 400ced55eb

View File

@ -119,9 +119,15 @@ def main():
# Restart apache
run(["/sbin/service", "httpd", "restart"])
# Set apache to be on at boot
# Set apache to start on boot
run(["/sbin/chkconfig", "httpd", "on"])
# Set fedora-ds to start on boot
run(["/sbin/chkconfig", "fedora-ds", "on"])
# Set the KDC to start on boot
run(["/sbin/chkconfig", "krb5kdc", "on"])
# Create the config file
fd = open("/etc/ipa/ipa.conf", "w")
fd.write("[defaults]\n")