TritonDataCenter / sdc-cloudapi

Triton Data Center Public HTTP API
Mozilla Public License 2.0
10 stars 24 forks source link

TRITON-2385 remove arbitrary restriction on flexible_disk with non-bhyve instances #142

Closed bahamat closed 1 year ago

bahamat commented 1 year ago

With the change in place in cloudapi, I’m able to provision instances joyent, kvm, and lx brand with a package that specifies flexible_disk=true. I can also do it with docker, and in either case the flexible_disk parameter isn’t present in vmadm on the CN, so I’m not even sure that cloudapi even needs to handle it at all, but I’m still opting to leave it in for now.

And I can still create bhyve instances, both without specifying --disk and also specifying multiple --disk parameters and instances are created with the expected number of disks and sizes.

danmcd commented 1 year ago

There's no RTI/IA field on this PR, but pretend I marked it as such. Push it!