Commit Graph

428 Commits

Author SHA1 Message Date
Matt Churchyard
d1221b5eee Tidying up for a new release 2015-08-10 09:18:46 +01:00
Matt Churchyard
1fc0043668 Document NAT and add guest log files that log everything we do 2015-08-09 17:06:05 +01:00
Matt Churchyard
1944c1b064 Remove an un-needed variable and some comments for guest support 2015-08-08 13:03:56 +01:00
Matt Churchyard
ef8544ba8e Force user visible 'vm start' command to only process one argument 2015-08-08 12:43:13 +01:00
Matt Churchyard
2c37501673 OpenBSD install was broken 2015-08-08 12:37:11 +01:00
Matt Churchyard
16f281a47d Various changes - see full commit message for details
Replace spaces with tabs
Change __nat_init function name to match other functions in the switch library
Completely rewrite guest support, making vm-core logic much cleaner
Guests are now supported via the lib/vm-guest library
Each guest has a function which unifies the install/run logic in once place rather than two.
Loaders now run in the background; Not 100% ideal in some cases but better for most.
This also fixes the small tap0 issue which will now only present itself if you start a guest
with no networking
All guests need more testing with these changes but should be functional.
2015-08-08 12:21:01 +01:00
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
adad1f3570 make comment explain how ZFS support is enabled 2015-08-07 10:08:27 +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
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
dc511083f5 Small tidy up 2015-08-04 16:17:11 +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
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
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
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
Charlie Root
183a87dc4f Move to BSD dev environment 2015-06-30 10:21:30 +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