vm.set not working for int
-
xo-cli vm.set id=89517372-b45b-ca36-4c51-dd17c0e760c0 CPUs=3
× invalid parameters
property @.CPUs: must be integer, but is stringHow pass integer in xo-cli
-
Hi,
No need to create a new thread, just wait for @julien-f answer

-
please give me reply
-
Hi, sorry for the delay!
Please read xo-cli's documentation, you need to use JSON when you want to pass non-string values:
xo-cli vm.set id=89517372-b45b-ca36-4c51-dd17c0e760c0 CPUs=json:3
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login