saltstack/salt

[DOCS] OpenNebula Function Reference - Suggests wrong CLI syntax

已關閉

#64,520 建立於 2023年6月21日

 (2 則留言) (0 個反應) (0 位負責人)Python (5,508 個分叉)batch import
documentationgood first issuehelp-wantedmodule doc standardsseverity-mediumtime-estimate-quick-fix

倉庫指標

星標
 (13,710 顆星)
PR 合併指標
 (平均合併 72天 6小時) (30 天內合併 221 個 PR)

描述

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:

  1. vm_name
  2. memory=16384
  3. cpu=2.5
  4. 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

貢獻者指南