xentaur
changeset 21:3f704d1f0f85
dynamic xen config import
author | igor |
---|---|
date | Thu Sep 20 18:50:01 2007 +0300 (2007-09-20) |
parents | 34d502d7e06c |
children | c4a092e32ee1 |
files | xentaur.py |
line diff
1.1 --- a/xentaur.py Thu Sep 20 18:29:23 2007 +0300 1.2 +++ b/xentaur.py Thu Sep 20 18:50:01 2007 +0300 1.3 @@ -7,7 +7,7 @@ 1.4 sys.path.append('/etc/xen') 1.5 1.6 xen_config_name='fabergeN' 1.7 -from fabergeN import bridges,vbridges_table, hidden_bridges, domains, broken_links, temporary_links, domain_types 1.8 +exec 'from '+xen_config_name+' import bridges,vbridges_table, hidden_bridges, domains, broken_links, temporary_links, domain_types' 1.9 1.10 from IPython.Shell import IPShellEmbed 1.11