diff --git a/management/daemon.py b/management/daemon.py index 2731bb19..17763039 100755 --- a/management/daemon.py +++ b/management/daemon.py @@ -101,9 +101,12 @@ def index(): utils.fix_boto() # must call prior to importing boto import boto.s3 backup_s3_hosts = [(r.name, r.endpoint) for r in boto.s3.regions()] + lsb=utils.shell("check_output", ["/usr/bin/lsb_release", "-d"]) return render_template('index.html', hostname=env['PRIMARY_HOSTNAME'], + distname=lsb[lsb.find("\t")+1:-1], + storage_root=env['STORAGE_ROOT'], no_users_exist=no_users_exist, diff --git a/management/templates/index.html b/management/templates/index.html index f4fa9a52..82e929e0 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -180,7 +180,7 @@