diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-06-10 14:57:02 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-06-10 14:57:02 -0500 |
| commit | b425aa0c49aba5d52250d3b7d0cd282464a32141 (patch) | |
| tree | 264bd217ffc82454611bea3cdc67af21268f065c /nova/compute | |
| parent | 7ae2b21c476099faca0b8279e4b2d8e3df88a9eb (diff) | |
misc argument alterations
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/api.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index d366d96eb..2a2dc6f0e 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -216,8 +216,7 @@ class API(base.Base): groups, MAC address, etc). This will called by create() in the majority of situations, but all-at-once style Schedulers may initiate the call.""" - instance = dict(mac_address=utils.generate_mac(), - launch_index=num, + instance = dict(launch_index=num, **base_options) instance = self.db.instance_create(context, instance) instance_id = instance['id'] |
