summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-07-26 11:57:29 -0400
committerRob Crittenden <rcritten@redhat.com>2010-07-29 10:44:56 -0400
commit26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2 (patch)
treef2e3084e28fb490477b9336bd3a0cfd7dffea3b2 /install/tools
parentfd1ff372dce5122f8bc3f7be7b144a92ec1f1bae (diff)
downloadfreeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.tar.gz
freeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.tar.xz
freeipa-26b0e8fc9809a4cd9f2f9a2281f0894e2e0f8db2.zip
This patch removes the existing UI functionality, as a prep for adding the Javascript based ui.
Diffstat (limited to 'install/tools')
-rwxr-xr-xinstall/tools/ipa-server-install14
1 files changed, 0 insertions, 14 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index c7fe6608e..89bb83e3d 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -56,14 +56,12 @@ from ipapython import sysrestore
from ipapython.ipautil import *
from ipalib import api, errors, util
-import ipawebui
pw_name = None
uninstalling = False
# Used to determine the the highest possible uid/gid
MAXINT_32BIT = 2147483648
-ASSETS_DIR = '/var/cache/ipa/assets'
def parse_options():
namespace = random.randint(1000000, (MAXINT_32BIT - 1000000))
@@ -412,13 +410,6 @@ def uninstall(dm_password=None):
return 0
-def render_assets():
- """
- Render CSS and JavaScript assets.
- """
- ui = ipawebui.create_wsgi_app(api)
- ui.render_assets()
-
def set_subject_in_config(host_name, dm_password, suffix, subject_base):
ldapuri = 'ldap://%s' % host_name
try:
@@ -511,7 +502,6 @@ def main():
print " * Create and configure an instance of Directory Server"
print " * Create and configure a Kerberos Key Distribution Center (KDC)"
print " * Configure Apache (httpd)"
- print " * Render web UI JavaScript and CSS assets"
if options.setup_dns:
print " * Configure DNS (bind)"
if not options.conf_ntp:
@@ -656,7 +646,6 @@ def main():
fd.write("enable_ra=True\n")
if not options.selfsign:
fd.write("ra_plugin=dogtag\n")
- fd.write('webui_assets_dir=' + ASSETS_DIR + '\n')
fd.close()
api.bootstrap(**cfg)
@@ -739,9 +728,6 @@ def main():
# generated
ds.add_cert_to_service()
- # Render webui assets:
- ipautil.run(["/sbin/restorecon", ASSETS_DIR])
- render_assets()
# Create a HTTP instance