750 Commits

Author SHA1 Message Date
Matt Churchyard
f84a338bc6 Slight mistake in pf include rule 2015-08-07 16:54:32 +01:00
Matt Churchyard
01687e55f2 Add some basic nat support, few quirks but fairly automated 2015-08-07 16:52:07 +01:00
Matt Churchyard
66e73eb623 try to improve ZFS usage in README.md 2015-08-07 11:04:05 +01:00
Matt Churchyard
7785127cc2 try to improve ZFS usage in README.md 2015-08-07 11:03:26 +01:00
Matt Churchyard
a8bce5b48e try to improve ZFS usage in README.md 2015-08-07 11:01:49 +01:00
Matt Churchyard
adad1f3570 make comment explain how ZFS support is enabled 2015-08-07 10:08:27 +01:00
Matt Churchyard
3a43b17cae trying to use __err when not available again... 2015-08-07 10:05:14 +01:00
Matt Churchyard
255f5c079d bump-de-bump 2015-08-07 10:04:08 +01:00
Matt Churchyard
363966b6ab More tidy up for ZFS and work on 'vm image' commands
lib/vm-zfs wasn't checking $VM_ZFS properly, causing it to try and use ZFS when it wasn't enabled.
'vm image' commands have been completed to a basic level.
You can image a virtual machine, then provision a new one using the image.
2015-08-07 09:58:24 +01:00
Matt Churchyard
6b34f777ba Small bug fixes
Exit is the ZFS dataset can't be found
Also code to find mountpoint was hardcoded with my test dataset, not using the user supplied value!
2015-08-06 19:52:30 +01:00
Matt Churchyard
b35d6f2b17 bump version 2015-08-06 19:33:22 +01:00
Matt Churchyard
7e88de9ab9 Enhance and tidy up ZFS support
Also load libs first so __err function is available before we try and use it
2015-08-06 19:31:08 +01:00
Matt Churchyard
791d3f9a35 Load libs first, otherwise we can't use __err 2015-08-06 16:23:32 +01:00
Matt Churchyard
27ab045973 Typo in manpage v0.3 2015-08-05 14:32:44 +01:00
Matt Churchyard
570222fbd6 Add 'vm destroy' to manpage 2015-08-04 16:21:17 +01:00
Matt Churchyard
dc511083f5 Small tidy up 2015-08-04 16:17:11 +01:00
Matt Churchyard
3a8c57f185 Provide some more linux support - alpine/debian 2015-08-04 09:19:13 +01:00
Matt Churchyard
abe280f07b Provide some more linux support - alpine/debian 2015-08-04 09:18:53 +01:00
Matt Churchyard
5b08794e11 Typo in __err function call 2015-08-03 14:09:52 +01:00
Matt Churchyard
9337f5b0df Add simple configure command and update manpage 2015-08-03 14:07:46 +01:00
Matt Churchyard
c9e700e939 Update usage and unify guest list order 2015-08-03 13:13:49 +01:00
Matt Churchyard
a279c8f4ee Centralise console (currently nmdm) creation 2015-08-03 12:51:02 +01:00
Matt Churchyard
ef44a68226 Bump version number slightly 2015-08-02 18:17:45 +01:00
Matt Churchyard
daff024bd2 Add NetBSD guest config 2015-08-02 18:03:03 +01:00
Matt Churchyard
097a8e917b Add NetBSD guest config 2015-08-02 18:02:40 +01:00
Matt Churchyard
43f8a30abe Remove remnants of cancelled 'image' command set 2015-07-29 09:19:10 +01:00
Matt Churchyard
9e331fb3a2 Add Makefile command to setup VM directory and copy templates 2015-07-29 09:17:58 +01:00
Matt Churchyard
4420305ea5 Show startup order in 'vm list' 2015-07-12 10:35:05 +01:00
Matt Churchyard
a44a59e5f8 The man page is the best resource for up-to-date info 2015-07-11 11:54:22 +01:00
Matt Churchyard
b6e93f4715 Add 'Bootloader' state to 'vm list' 2015-07-11 11:48:43 +01:00
Matt Churchyard
c2ee73fc0b Add autostart setting to 'vm list' 2015-07-11 11:26:34 +01:00
Matt Churchyard
9b4eb0d194 Missing OpenBSD template 2015-07-10 13:52:24 +01:00
Matt Churchyard
61313febed Add 'vm list' command and basic OpenBSD guest support 2015-07-10 13:51:40 +01:00
Matt Churchyard
ee0460ba84 sysrc functions incorrectly mention switch in errors 2015-07-01 15:14:07 +01:00
Matt Churchyard
67fe128329 Additional work on manpage 2015-07-01 11:10:50 +01:00
Matt Churchyard
595f66056f Replace txt2man man page with a proper one 2015-06-30 16:54:38 +01:00
Matt Churchyard
c2e456637d Tidy up Makefile, reset/poweroff added in last commit 2015-06-30 10:28:08 +01:00
Charlie Root
183a87dc4f Move to BSD dev environment 2015-06-30 10:21:30 +01:00
churchers
2d745e4c5f Add download link to readme 2015-06-30 08:37:37 +01:00
churchers
3e8db95d13 Shut "make" up (and stop "make clean" removing our code...)
We don't really need to do anything on "make" or "make clean" so just
make these do nothing
2015-06-29 11:52:05 +01:00
churchers
d0b2ce8e62 Fix path->dir and add ZFS note
Change vm_path to vm_dir in man.
Document in manpage that vm-bhyve will attempt to create a new dataset
for each guest if $vm_dir is on ZFS.
2015-06-29 11:31:02 +01:00
churchers
3e93f7d1c7 Big tidy up
Simplify main script and move functions into independent libraries.
Add a Makefile to install everything to the correct places.
Add an initial man page.
2015-06-29 11:14:42 +01:00
churchers
43a817b2af Run ubuntu install loader on stdio
Need to select the Install option before the loader will exit.
Using nmdm means you need to access the console via another terminal
before the vm install command will exit.
2015-06-24 16:23:35 +01:00
churchers
617227fa3f Script needs to be /usr/local/sbin/vm
Not actually critical but that's where the rc.d script will look without
modification
2015-06-24 12:20:49 +01:00
churchers
9874981120 Minor switch changes
Switches now only created if they don't exist so init no longer requires
vmm.ko to be unloaded. Multiple init runs will just do nothing.

Switches have been updated to add a dash to the end of the interface
description. This stops the possibility of the wrong switch being used
if one switch has a name that is a substring of another - eg "int" &
"internet".
2015-06-24 11:20:44 +01:00
churchers
348e9fa264 More README tidy-up 2015-06-24 10:21:48 +01:00
churchers
559b14ca27 Small formatting changes to README 2015-06-24 10:06:54 +01:00
churchers
6c2052f830 Fill out README 2015-06-24 09:58:30 +01:00
churchers
b2a245047e Initial code import 2015-06-24 09:37:22 +01:00
churchers
26536ef926 Initial commit 2015-06-24 09:28:53 +01:00