Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bostrt/mkvm

RETIRED (b/c containers). Wrapper around virt-builder for quickly spinning up a VM
https://github.com/bostrt/mkvm

Last synced: 19 days ago
JSON representation

RETIRED (b/c containers). Wrapper around virt-builder for quickly spinning up a VM

Awesome Lists containing this project

README

        

## mkvm
wrapper around virt-builder for quickly spinning up a VM

Prerequisites
---

There are some prerequisites before using `mkvm`.

1. Install libguestfs-tools and virt-install: `yum install libguestfs-tools virt-install`
2. **Optional:** Setup an external repository of base images for virt-builder: http://libguestfs.org/virt-builder.1.html#sources-of-templates
3. Create a `.rhn` file in your `$HOME` and add your username and password to it. See **RHN** section below.
4. Create a static Virtual Network. http://wiki.libvirt.org/page/VirtualNetworking
4.1 You can use the setup/setup-net.sh script to do this for you.
5. Update the `mkvm.network` and `mkvm.resolv.conf` files to reflect your network configuration if you don't use the script.
6. **Optional:** Update `mkvm.ifcfg-eth0` if you need to fine tune some stuff.
7. **Optional:** Customize `mkvm.firstboot.sh` as needed.

RHN
---
```
touch ~/.rhn
echo my_rhn_username > ~/.rhn
echo my_rhn_password >> ~/.rhn
```