install ubuntu guest from command line.
What do you mean exactly?
we have a lot of ubuntu template in xen.
what i want is create an ubuntu server. something like that
xe-vm-install template="ubuntu focal.." ....
and in this command add ip address disk size ...
You can't add IP addresses during VM creation, because it's not handled by the hypervisor.
If you want this (to add IP addresses, SSH keys and so on), you need to use Cloudinit ready template and
xo-cli(or API) to create the VM.
i can't see how to create vm with xo create
Hyperledger Sawtooth is an enterprise blockchain platform for building distributed ledger applications and networks
Obviously, it has nothing to do with Xen Orchestra
i know. My issue is disaster/recovery and i want to just install and running all vm server with just running a scripts.
@bahman have a look here.
If you want to automate absolutely everything, you need to get a cloud-init ubuntu template up and running and pass cloud-init parameters to it.
Thanks. that is what i want.
@bahman If you know / are willing to learn Ansible, this Github project might give you some ideas on how to automate the install of an Ubuntu (or Debian) guest VM. I am just dipping my toe into Ansible to automate my test program and this project came up during research. But I must admit that I have never tested it, but I see the potential. Would be great to learn about your experience if you follow this approach.
i using Ansible but not to install ubuntu on xsen server.
what i thinking is with scripts create all server on xenserver then starting ansible to install all software....
i don't know how to install ubuntu from ansible script.
Packer is an option (better than Ansible in this case).
xoCLI to do that.