mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
butter kvm list_drives returns a list now
This commit is contained in:
parent
0209772cbc
commit
7b2b9b7b2d
@ -119,7 +119,10 @@ def local_images(local_path):
|
||||
CLI Example:
|
||||
salt '*' buttervm.local_images <image_path>
|
||||
'''
|
||||
return os.listdir(local_path).sort()
|
||||
images = os.listdir(local_path)
|
||||
images.sort()
|
||||
return images
|
||||
|
||||
|
||||
def full_butter_data(local_path):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user