X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config;h=6a949417cb2dc68e6540c114d9c99b4b7781cc03;hb=c6d0216067f98de62a6590363a120d635ae34daf;hp=e5a275ad0ea5aa4e85e9b1edc0702f123a3afc33;hpb=bd6a98f3c29d7e0f56ad65434e1ed694eb79608a;p=myplc.git diff --git a/db-config b/db-config index e5a275a..6a94941 100755 --- a/db-config +++ b/db-config @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: db-config,v 1.20 2007/02/02 19:43:01 faiyaza Exp $ +# $Id: db-config,v 1.21 2007/02/02 19:56:21 mlhuang Exp $ # from plc_config import PLCConfiguration @@ -581,17 +581,6 @@ def main(): else: UpdateSliceAttributeType(default_attribute_type['name'], default_attribute_type) - # Get contents of SSL public certificate used for signing slice tickets - try: - plc_ticket_pubkey = "" - for line in file(plc_ma_sa['ca_ssl_key_pub']): - # Skip comments - if line[0:5] != "-----": - # XXX The embedded newlines matter, do not strip()! - plc_ticket_pubkey += line - except: - plc_ticket_pubkey = '%KEY%' - # Create/update system slices legacy_slices = [ # XXX Required for old Node Manager @@ -603,7 +592,7 @@ def main(): 'expires': sys.maxint, 'attributes': [('plc_slice_type', "VServerSlice"), ('plc_agent_version', "1.0"), - ('plc_ticket_pubkey', plc_ticket_pubkey)]}, + ('plc_ticket_pubkey', "")]}, # XXX Required for old Node Manager {'name': "pl_conf_vserverslice",