mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Misc. rST fixes
This commit is contained in:
parent
ee0dd1a669
commit
4701c25bbc
@ -756,8 +756,9 @@ def list_availability_zones():
|
||||
|
||||
def block_device_mappings(vm_):
|
||||
'''
|
||||
Return the block device mapping
|
||||
e.g. [{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
|
||||
Return the block device mapping::
|
||||
|
||||
[{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
|
||||
{'DeviceName': '/dev/sdc', 'VirtualName': 'ephemeral1'}]
|
||||
'''
|
||||
return config.get_config_value(
|
||||
|
@ -423,12 +423,13 @@ def create_node(**kwargs):
|
||||
def destroy(name, call=None):
|
||||
'''
|
||||
destroy a machine by name
|
||||
|
||||
:param name: name given to the machine
|
||||
:param call: call value in this case is 'action'
|
||||
:return: array of booleans , true if successful;ly stopped and true if
|
||||
successfully removed
|
||||
|
||||
CLI Example:
|
||||
CLI Example::
|
||||
|
||||
salt-cloud -d vm_name
|
||||
|
||||
|
@ -227,8 +227,9 @@ def iam_profile(vm_):
|
||||
|
||||
def block_device_mappings(vm_):
|
||||
'''
|
||||
Return the block device mapping
|
||||
e.g. [{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
|
||||
Return the block device mapping::
|
||||
|
||||
[{'DeviceName': '/dev/sdb', 'VirtualName': 'ephemeral0'},
|
||||
{'DeviceName': '/dev/sdc', 'VirtualName': 'ephemeral1'}]
|
||||
'''
|
||||
return config.get_config_value(
|
||||
|
Loading…
Reference in New Issue
Block a user