mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add cli example
This commit is contained in:
parent
4feda14159
commit
0350e5640c
@ -52,7 +52,8 @@ def nbd_connect(image):
|
|||||||
Activate nbd for an image file.
|
Activate nbd for an image file.
|
||||||
|
|
||||||
CLI Example::
|
CLI Example::
|
||||||
@todo
|
|
||||||
|
salt '*' qemu.nbd_connect /tmp/image.raw
|
||||||
'''
|
'''
|
||||||
if not os.path.isfile(image):
|
if not os.path.isfile(image):
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
Reference in New Issue
Block a user