From 40ad835d24f91703e5fcd4f859a5520d8a4009f6 Mon Sep 17 00:00:00 2001 From: Kiyoshi Guo <44930252+Kiyo5hi@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:10:58 +0800 Subject: [PATCH] feat(cta): updated cloudtower admin config --- samples/cloudtower-admin.yaml | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/samples/cloudtower-admin.yaml b/samples/cloudtower-admin.yaml index 0727782..5fc3dd2 100644 --- a/samples/cloudtower-admin.yaml +++ b/samples/cloudtower-admin.yaml @@ -86,3 +86,60 @@ command: display: Path description: Path to upgrade.tar.gz type: string + - name: config + display: Configure CloudTower + flags: + - name: e + display: URL to ELF cluster + type: string + description: Specify when CloudTower is not running in a VM in the target ELF cluster + - name: u + display: Username + type: string + description: Specify when CloudTower is not running in a VM in the target ELF cluster + - name: p + display: Password + type: string + description: Specify when CloudTower is not running in a VM in the target ELF cluster + subcommands: + - name: base + display: CPU/Memory + flags: + - name: c + display: Number of cores + type: number + - name: m + display: Memory in GB + type: number + - name: dns + display: DNS + args: + - name: ns + display: Nameservers + type: string + description: Comma delimited list of nameservers + required: true + - name: nics + display: IP + flags: + - name: i + display: IP Address + type: string + required: true + - name: s + display: Subnet Mask + type: string + required: true + - name: g + display: Gateway + type: string + required: true + - name: d + display: DNS + type: string + required: true + - name: f + display: Force + type: boolean + required: true +