@luizhpriotto Awesome! I'll check it out later today. Cheers!
Latest posts made by kirovtome
-
RE: Ansible dynamic inventory and XO
-
RE: xo-cli deploy VM using ssh-key parameter
@julien-f @olivierlambert Thanks guys! You can close this one.
-
xo-cli deploy VM using ssh-key parameter
Hello,
which parameter should I use if I want to create / deploy a VM using SSH KEY instead of cloud-init template ? I've tried to grep xo-cli --list-commands, and couldn't find anything related to it. @julien-f Appreciate your help
-
RE: xo-cli help
@julien-f and what if i want to update the disk size. Is there any parameter that i can use with
vm.set
or is it another command? -
RE: xo-cli help
@julien-f Thanks a lot man! One more thing tho. It seems that i can't use
existingDisks
when i try to upgrade the VM disk size usingvm.set
. It saysinvalid parameter property @: should not contains property ["existingDisks"]
.@olivierlambert you can close this one tho. Many thanks!
-
RE: xo-cli help
Thanks a lot guys! @julien-f could you provide me an example with memoryMin and memoryMax cuz when I try to run this command:
xo-cli vm.create template="118d4978-a9f9-ec99-52e3-df5e78b004a2" name_label="vmnew1" cloudConfig="centos8-cc" VIFs='json:[{"network":"40f00688-388d-997e-7f1c-12bbdf6134f8"}]' bootAfterCreate=true memoryMin=1073741824 memoryMax=1073741824
the output is:
✖ unknown error from the peer JsonRpcError: unknown error from the peer at Peer._callee$ (/usr/local/lib/node_modules/xo-cli/node_modules/json-rpc-peer/dist/index.js:212:17) ..and so on
This works tho if i specify memoryMin or memoryMax only (not both). Also, do these memoryMin and memoryMax refer to the static or dynamic memory? I'm kinda newbie on this one.
@badrAZ after the deployment, when i try to set the cpu, for example:
xo-cli vm.set id=<some_id> CPUs=4
i got this error:
✖ invalid parameters property @.CPUs: must be integer, but is string
If you know anything about this, please let me know.
Thanks! -
xo-cli help
Hi, i was messing around xo-cli and I'm kinda stuck with these ones:
- xo-cli vm.create CPUs=1 deploys CPU limits: 1/2. How can i achieve something like CPU limits 2/4 ?
- The same goes with memory. How can i configure min/max static and dynamic memory. I've tried with memory='json:[{"dynamic": [1073741824, 4294967296]}]' but no luck.
- How can i update the SR size/name when deploying from template using custom config? (i'm using the CentOS 8 Cloudinit ready template from XO Hub)
- How can i disable fast_clone checkbox?
Appreciate your help
-
Ansible dynamic inventory and XO
I was just wondering if anyone is using an Ansible dynamic inventory script with XO, could you share it please? I'm trying to save some time not to write my own python script over xo-cli though.
Thanks in advance.
-
ssh management
Hello,
i was reading through SSH keys management documentation, but i'm having a hard time with this one:
"In your user zone, you can manage your keys (create, remove). Click on "New SSH key":"
Where can i find this in XO?
Also, regarding ssh key management, is there any xo-cli support?