diff options
| author | Rick Harris <rick.harris@rackspace.com> | 2011-06-17 01:21:44 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-06-17 01:21:44 +0000 |
| commit | 556f467bf0065331cdbb5c5e20fe33dca1239a64 (patch) | |
| tree | 357f913d939045afb0bc91c116e442ee2fc0a858 | |
| parent | 1763419a3f6b01bb0ef98c700f0f350e756b359c (diff) | |
| parent | 00cb4efb489cce55aeab7a530012d3615552af89 (diff) | |
| download | nova-556f467bf0065331cdbb5c5e20fe33dca1239a64.tar.gz nova-556f467bf0065331cdbb5c5e20fe33dca1239a64.tar.xz nova-556f467bf0065331cdbb5c5e20fe33dca1239a64.zip | |
Make $my_ip Glance's default host, not localhost.
| -rw-r--r-- | nova/flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/flags.py b/nova/flags.py index acfcf8d68..f6f12e3b2 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -272,7 +272,7 @@ DEFINE_string('aws_access_key_id', 'admin', 'AWS Access ID') DEFINE_string('aws_secret_access_key', 'admin', 'AWS Access Key') # NOTE(sirp): my_ip interpolation doesn't work within nested structures DEFINE_list('glance_api_servers', - ['127.0.0.1:9292'], + ['%s:9292' % _get_my_ip()], 'list of glance api servers available to nova (host:port)') DEFINE_integer('s3_port', 3333, 's3 port') DEFINE_string('s3_host', '$my_ip', 's3 host (for infrastructure)') |
