Re: Pass userdata with CMK

2020-09-02 Thread Poulpatine
mykey > userdata="$(base64 ./user-data)" > > cmk deploy virtualmachine templateid="$template" > serviceofferingid="$service" zoneid="$zone" keypair="$keypair" > userdata="$userdata" > > Thanks, > David > __

Re: Pass userdata with CMK

2020-09-02 Thread David Jumani
patine Sent: Wednesday, September 2, 2020 3:21 PM To: users@cloudstack.apache.org Subject: Pass userdata with CMK Hi, I'm trying to pass userdata in cmk command line during virtual machine deployment but I can't figure how to do that. Among other tests, I've tried something like that in a very

Re: Pass userdata with CMK

2020-09-02 Thread Vivek Kumar
Hello, With the help of user data you can push you set of instructions to the VM while deploying VM. So let’s say you want to install any specific packages in the newly deployed VM, So instead of logging to the VM and download it manually you can pass the user-data to the VM while deploying the

Pass userdata with CMK

2020-09-02 Thread Poulpatine
Hi, I'm trying to pass userdata in cmk command line during virtual machine deployment but I can't figure how to do that. Among other tests, I've tried something like that in a very basic shell script: #!/bin/bash cli=cmk template=7bf01470-e3a5-4f37-b035-023c663c1b48 service=80b47022-a341-446f-a