safrm/rvmb
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
name: rvmb - Rapid VM builder author: Miroslav Safr <miroslav.safr@gmail.com> web: http://safrm.net/projects/rvmb description: Rapid VM builder for qemu-kvm based portable VMs Base use cases: A. Portable VMs - can be run from usb drive or just copied (2 files) between 2 computers (rvmb does not have to be even installed) B. Rapid installation - there is no need to have anything (default targets or own target file) to recreate standard VMs quickly and repetitavely C. VM backing up - VM image can be zipped and restored by just copying one file (6,4GB disk compressed to 1,3GB), QCOW2 images can also use qemu snapshots D. Clonning environments - very easy clonning existing VM into the same environments - install once reuse image many times E. CI intergations - possible to run and control without gui (from for example jenkins) content: rvmb .................. main script install.sh ............ installation (from source) script Usage 1: Create and connect VM: #check available targets $ rvmb list-targets #create and install VM #there can be passed own configuration file based on teplate (-t <file>) #or created clone of the same VM configuration (-c <number>) $ rvmb install ubuntu-12.04-i386-desktop #.. manual steps during installation #running the VM $ rvmb start ubuntu-12.04-desktop-i386 #connect running VM $ rvmb connect-ssh ubuntu-12.04-i386-desktop Usage 2:Try live iso : $ rvmb run-live-iso ubuntu-12.04-x86_64-desktop Usage 3: Clone VM0 to VM1 and connect between 2 VMs : Steps from Usage 1 rvmb start ubuntu-12.04-i386-desktop -c 1 #connect from VM0 to VM1 rvmb connect-ssh ubuntu-12.04-i386-desktop VM0$ ssh 192.168.101.2 -p 8024 #connect from VM1 to VM0 rvmb connect-ssh ubuntu-12.04-i386-desktop -c 1 VM1$ ssh 192.168.101.2 -p 8023 Tested targets + ports table: 8XYZ X .... distro + arch 0 ub-i386, 1 ub64b .. Y ... release or type Z .. instances (10 is enough) ubuntu-12.04-i386-desktop 8001 ubuntu-12.04-x86_64-desktop 8101 ubuntu-12.04-x86_64-mini 8111 ubuntu-14.04-i386-desktop 8011 ubuntu-14.04-x86_64-desktop 8111 fedora-20-i586-desktop 8201 fedora-20-i586-mini 8211 fedora-20-i586-netinst 8221 fedora-20-x86_64-desktop 8301 fedora-20-x86_64-mini 8361