Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axsh/vmapp-vdc-1box
Wakame-vdc 1box builder
https://github.com/axsh/vmapp-vdc-1box
Last synced: about 2 months ago
JSON representation
Wakame-vdc 1box builder
- Host: GitHub
- URL: https://github.com/axsh/vmapp-vdc-1box
- Owner: axsh
- Created: 2012-11-21T04:46:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T11:16:21.000Z (over 8 years ago)
- Last Synced: 2023-04-18T20:26:48.058Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 365 KB
- Stars: 3
- Watchers: 17
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vmapp-vdc-1box
==============[Wakame-vdc](https://github.com/axsh/wakame-vdc) demobox/testbox.
![vmapp-vdc-1box](https://cloud.githubusercontent.com/assets/76867/5339275/11b1bd34-7f22-11e4-8d21-ecf6779ae3da.png)
Pre-setup
---------### 1: Donwload vmimage files.
```
$ ./prepare-vmimage.sh
```### 2: Install submodules.
```
$ make
```### 3: Generate vdc command set.
```
$ ./gen-vmcmdset.sh
```> ```
> [INFO] Generating guestroot.kvm.x86_64/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.kvm.i686/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.lxc.x86_64/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.lxc.i686/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.openvz.x86_64/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.openvz.i686/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.dummy.x86_64/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> [INFO] Generating guestroot.dummy.i686/var/lib/wakame-vdc/demo/vdc-manage.d/02_core
> ```### Optional: Setup a bridge interface to run vm.
```
$ sudo cp hostroot/etc/sysconfig/network-scripts/ifcfg-vboxbr0 /etc/sysconfig/network-scripts/ifcfg-vboxbr0
$ sudo ifup vboxbr0
```Controlling box
---------------```
$ ./box-ctl.sh build [hypervisor]
$ ./box-ctl.sh start [hypervisor]
$ ./box-ctl.sh stop [hypervisor]
```hypervisor:
+ lxc
+ openvz
+ kvm
+ dummyCustom configuration
--------------------+ copy.local.txt
+ postcopy.local.txt
+ copy.local.$(arch).txt
+ postcopy.local.$(arch).txtContributing
------------1. Fork it ( https://github.com/[my-github-username]/vmapp-vdc-1box/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request