cleaning up boot output; upping version
This commit is contained in:
parent
7e5a474d0d
commit
6d1361c9f4
@ -45,9 +45,9 @@ copyright = u'Rackspace, based on work by Jacob Kaplan-Moss'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '2.5'
|
||||
version = '2.6'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '2.5.9'
|
||||
release = '2.6.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -121,7 +121,21 @@ def do_boot(cs, args):
|
||||
files=files,
|
||||
min_count=min_count,
|
||||
max_count=max_count)
|
||||
utils.print_dict(server._info)
|
||||
|
||||
info = server._info
|
||||
|
||||
flavor = info.get('flavor', {})
|
||||
flavor_id = flavor.get('id', '')
|
||||
info['flavor'] = _find_flavor(cs, flavor_id).name
|
||||
|
||||
image = info.get('image', {})
|
||||
image_id = image.get('id', '')
|
||||
info['image'] = _find_image(cs, image_id).name
|
||||
|
||||
info.pop('links', None)
|
||||
info.pop('addresses', None)
|
||||
|
||||
utils.print_dict(info)
|
||||
|
||||
|
||||
@utils.arg('--flavor',
|
||||
|
Loading…
Reference in New Issue
Block a user