[DOCS] OpenNebula Function Reference - Suggests wrong CLI syntax
#64.520 aperta il 21 giu 2023
Metriche repository
- Star
- (13.710 stelle)
- Metriche merge PR
- (Merge medio 72g 6h) (221 PR mergiate in 30 g)
Descrizione
Description If you look at the function reference for salt.cloud.clouds.opennebula at the Create function it suggests syntax of:
salt-cloud -p my-opennebula-profile vm_name memory=16384 cpu=2.5 vcpu=16
This appears to be incorrect, if you were to run such syntax you would end up creating 4 virtual machines called:
- vm_name
- memory=16384
- cpu=2.5
- vcpu=16
inside of OpenNebula, not a single VM with 16GB memory, 2.5 physical CPU cores and 16 virtual ones as you might expect.
Suggested Fix Remove this syntax from the documentation.
Type of documentation Salt module
Location or format of documentation https://docs.saltproject.io/en/latest/ref/clouds/all/salt.cloud.clouds.opennebula.html#salt.cloud.clouds.opennebula.create
Additional context None