Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bostrt/mkvm
- Owner: bostrt
- License: mit
- Created: 2015-06-09T21:04:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-29T18:42:56.000Z (almost 9 years ago)
- Last Synced: 2024-11-02T00:24:35.639Z (2 months ago)
- Language: Shell
- Homepage: https://github.com/bostrt/mkvm
- Size: 24.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## mkvm
wrapper around virt-builder for quickly spinning up a VMPrerequisites
---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
```