If I want to execute custom commands on the virtual machine(e.g. apt-get
update), there are no ways to push the command and execute by the guest OS.
Is it?




On Sat, May 31, 2014 at 6:06 PM, Andrija Panic <andrija.pa...@gmail.com>
wrote:

> no, hostname is set to be nameOfTheVM.yourDomain.Com - name of the
> instance
> and the name of the "Domain" which is defined when you create your Account
> on CLoudStack... no option to set hostname from GUI as far as I know...
>
> pass change feature / script:
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/add-password-management-to-templates.html
> NOTE: you need to enable "User Data" service on your Netwokr Offering when
> creating Network Offer....
>
> cheers
>
>
>
> On 31 May 2014 15:33, hossein zabolzadeh <zabolza...@gmail.com> wrote:
>
> > So, if I want to execute a new command to the VM(e.g. set the hostname),
> > Does the small script/exe file can do this simple job?
> > Where is the source code of this small script/exe, as you said?!
> >
> >
> > On Sat, May 31, 2014 at 5:50 PM, Andrija Panic <andrija.pa...@gmail.com>
> > wrote:
> >
> > > IP parameters are fetched via normal DHCP protocol, from Virtual Router
> > (if
> > > you choose to provide IP via VR, usually YES :))
> > > -SSH keys...
> > >
> > >
> >
> https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/using-sshkeys.html
> > > have not used tham so far, but there is option to do wo
> > > - There is also Password Reset feature from GUI (small script/EXE file
> is
> > > installed inside VM), so VM get "command" (also via DHCP from VR) to
> > reset
> > > ROOT/Administrator password to one that was generated randomly...works
> > like
> > > a charm
> > >
> > > what else ? :)
> > >
> > >
> > >
> > >
> > > On 31 May 2014 14:44, hossein zabolzadeh <zabolza...@gmail.com> wrote:
> > >
> > > > But, how the virtual machine provisioned with specific
> > configuration(Like
> > > > IP Address, SSH Key, ...)? In other words how the Virtual Machine
> fetch
> > > > these information during spawal?
> > > > For example openStack instances use cloud-init to fetch these type of
> > > > information. What about the CloudStack?
> > > > Thanks in advance.
> > > >
> > > >
> > > > On Sat, May 31, 2014 at 5:10 PM, Andrija Panic <
> > andrija.pa...@gmail.com>
> > > > wrote:
> > > >
> > > > > true :)
> > > > >
> > > > >
> > > > > On 31 May 2014 14:39, hossein zabolzadeh <zabolza...@gmail.com>
> > wrote:
> > > > >
> > > > > > Oh, That was host agent.
> > > > > > Thanks.
> > > > > >
> > > > > >
> > > > > > On Sat, May 31, 2014 at 5:03 PM, Nux! <n...@li.nux.ro> wrote:
> > > > > >
> > > > > > > On 31.05.2014 13:24, hossein zabolzadeh wrote:
> > > > > > >
> > > > > > >> Dear Andrija.
> > > > > > >> What about the agent on KVM machine? Check the page 27 of the
> > > > > following
> > > > > > >> presentation.
> > > > > > >> http://www.slideshare.net/cloudstack/cloudstack-architecture
> > > > > > >>
> > > > > > >
> > > > > > > That "agent" is the software installed on the HV, aka
> > > > cloudstack-agent.
> > > > > > No
> > > > > > > software is needed in the virtual machine.
> > > > > > >
> > > > > > > HTH
> > > > > > > Lucian
> > > > > > >
> > > > > > > --
> > > > > > > Sent from the Delta quadrant using Borg technology!
> > > > > > >
> > > > > > > Nux!
> > > > > > > www.nux.ro
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > > > --------------------------------------
> > > > >   http://admintweets.com
> > > > > --------------------------------------
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > > --------------------------------------
> > >   http://admintweets.com
> > > --------------------------------------
> > >
> >
>
>
>
> --
>
> Andrija Panić
> --------------------------------------
>   http://admintweets.com
> --------------------------------------
>

Reply via email to