Using Open Nebula I have instantiated several virtual machines (qemu-kvm) with the Centos 6.5 image provided by Open Nebula Marketplace. Now I would like to install more applications on VMs and run some postscripts also. Although I could do this by doing ssh over each vm, but I would like to automate the process.
How to automate application installation in virtual machine?
1k Views Asked by Kshitiz Bartariya At
1
There are 1 best solutions below
Related Questions in VIRTUALIZATION
- Commit data in a mysql container
- OSX kext: Can't open IOResouces in ::start() due to owned by some other
- Android Studio - HAX kernel Module not installed
- How feasible is it to virtualise the FILE* interfaces of C?
- what is the use of nested containers and root privilege isolation
- How do I set up a virtual environment with Flask using conda?
- on reboot revert back to original state
- Host Only connection NetBSD to Windows
- Geny Motion v2.4.0. Virtualization engine not found. Plugin loading aborted
- Enabling Virtualization with no option in BIOS (Windows 8.1 basic, Samsung laptop)
- How to set dhrystone benchmark clock rate for emulator?
- an issue when trying to enable virtualization
- Generating fingerprint of virtual machines
- One way communication between vm's?
- How to automate application installation in virtual machine?
Related Questions in QEMU
- Errors in makefile for qemu 0.14.1 in ubuntu 15.04 64 bit
- Rustc/LLVM generates faulty code for aarch64 with opt-level=0
- Reading contents of a qcow2 image using `bdrv_pread(..)` or alternatives
- How to setup an Android Virtual Device with a data partition larger than 200 MB?
- Missing headers for kernel in bzImage loaded on qemu
- Network Block Device - Receive control failed (result -32) - Kernel 3.16.0-41
- Can't Connect to Pebble Emulator
- Passing struct to main via char* pointer
- What is the equivalent to a VirtualBox setting in Qemu?
- C# Embed QEMU Into panel - how to get/generate QEMU window handle?
- E: Cannot get debconf version. Is debconf installed?
- Pass arguments to ARM program while remotely debugging
- How to automate application installation in virtual machine?
- mount: you must specify the filesystem type
- how to trace guest OS when qemu is run with kvm enabled and cpu is host?
Related Questions in KVM
- Reading contents of a qcow2 image using `bdrv_pread(..)` or alternatives
- Network Block Device - Receive control failed (result -32) - Kernel 3.16.0-41
- How to automate application installation in virtual machine?
- KVM and Libvirt: Bad CPU/Network performance of guest
- how to trace guest OS when qemu is run with kvm enabled and cpu is host?
- Nvidia GPU passthrough fail with code 43
- ubuntu guest on RHEL kvm *(x86_64) is failing
- libvirt-php receives the error: internal error Unable to locate libvirtd daemon in /usr/sbin
- Linux gitian-builder and "dpkg: error processing package sudo"
- Exception when run Aspnet Mvc app on OS X
- libvirt-php receives the error: unable to connect to server Permission denied
- Running qemu on ARM with KVM acceleration
- How to configure a new host and virtual machine on opennebula?
- how virtio front-end drivers to share vring (or virtqueue) with qemu?
- How to package vm for KVM/QEMU?
Related Questions in OPENNEBULA
- How to automate application installation in virtual machine?
- opennebula 5.2 sunstone Fail, need help to troubleshoot
- How to configure a new host and virtual machine on opennebula?
- oneadmin opennebula ssh localhost
- Opennebula Virtual Machine localhost login
- Ansible and Opennebula: This module requires pyone to work
- commiunication with opennebula 4.8 via python xmlrpc
- "Setting initial password for current user and oneadmin FAILED"
- Why is Vivaldi crooked on LinuxMint 20 XFCE over Remmina VNC?
- OpenNebula - Bridge VM NIC with Host NIC - take Ip from LAN DCHP
- Ansible and Opennebula: ProtocolError for https://myopennebulaserver/RPC2: 401 401 Client Error: Unauthorized
- OpenNebula 5.6.1 No such file or directory - /var/lib/one/config
- Modifying OpenNebula codes
- Dynamic exclusion list in lsyncd
- what is entire Template string to allocate Open Nebula VM using XMLRPC method one.vm.allocate
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
We use Salt (http://www.saltstack.com) for exactly that.
Through some more or less complex configuration-files, you can have the machines automatically install software, configuration-files, users, ssh-keys, ...
You could for example set a rule, that any VM, who's FQDN starts with "web" has to install httpd.
Alternatives are Puppet (https://puppetlabs.com), Chef (https://www.chef.io/chef/), Ansible (http://www.ansible.com/home) and potentially a few others.
For the installation of Salt, we use an additional context-script in the VM (note, you'll have to add 'init.sh' and the other context-script), that takes care of the installation of the minion. The script looks somewhat like this (replace ##salt-master-FQDN## with the salt-master IP or fqdn):