Skip to content

Commit a14f225

Browse files
committed
add disk: allow to select sata
1 parent ddfd72d commit a14f225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kvirt/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,8 +1642,8 @@ def create_vmdisk(args):
16421642
thin = overrides.get('thin', not shareable)
16431643
image = args.image
16441644
interface = overrides.get('diskinterface') or args.interface
1645-
if interface not in ['virtio', 'ide', 'scsi']:
1646-
error("Incorrect disk interface. Choose between virtio, scsi or ide...")
1645+
if interface not in ['virtio', 'ide', 'scsi', 'sata']:
1646+
error("Incorrect disk interface. Choose between virtio, sata, scsi or ide...")
16471647
sys.exit(1)
16481648
config = Kconfig(client=args.client, debug=args.debug, region=args.region, zone=args.zone, namespace=args.namespace)
16491649
k = config.k

0 commit comments

Comments
 (0)