Commit Graph

703 Commits

Author SHA1 Message Date
Matt Churchyard
6ea3ad8af9 Fix #225 - no command specified 2018-06-25 13:24:19 +00:00
Matt Churchyard
4169a47875 Add support for vm destroy guest@snap. Fixes #126 2018-06-25 12:20:47 +00:00
Matt Churchyard
058ec6da67 Remove nat setting from info as it's meaningless 2018-06-25 08:36:08 +00:00
Matt Churchyard
cd1db02bc8 Disable debug mode! 2018-06-25 08:22:27 +00:00
Matt Churchyard
728fb8d603 Fix vlan device naming and check all calls to switch::standard::id
return id is always set so we need to check return status
2018-06-25 08:21:22 +00:00
Matt Churchyard
b9dc33feaf Merge remote-tracking branch 'origin/1.2-stable'
Merge fixes into master
2018-06-25 08:08:29 +00:00
Matt Churchyard
c67fc3758e Fix #223 - switch::standard::id failure
Test causes an error return value on successful ifconfig
2018-06-25 08:01:58 +00:00
Matt Churchyard
47bfe768f9 Re-tag current release as a beta v1.2.b1 2018-06-25 07:54:28 +00:00
Matt Churchyard
ec61996eac Remove the NAT commands other than the core command with a warning message
It's actually far easier and less error-prone to create a standard or manual
switch, then configure whichever NAT service the user wants to use manually.
v1.2.0 v1.2
2018-06-22 13:21:51 +00:00
Matt Churchyard
7db395ff76 Exiting early on a bad command broke option handling 2018-06-22 12:13:49 +00:00
Matt Churchyard
056b30d85e Rework switches to use the switch name as the actual bridge name
Makes identifying the correct interface easier and looks nicer in ifconfig
2018-06-22 11:54:20 +00:00
Matt Churchyard
1edf7155fa Don't output an entire screen of usage info for an invalid command 2018-06-22 08:33:43 +00:00
Matt Churchyard
2471661ca3 About time to update windows template to default to graphics support
Most users are far better off installing this way if possible
Note I do suggest downloading a virtio-net driver and changing the network adapter once
it's up and running.
2018-06-22 08:16:47 +00:00
Matt Churchyard
1a176aa51d Remove NAT details from main README.md for now
It's not ideal to be messing directly with users firewalls and causes more problems than it solves
2018-06-22 08:02:54 +00:00
Matt Churchyard
769d030f26 remove defunct nmdm code 2018-06-22 08:00:21 +00:00
Matt Churchyard
8d11d35dce Add support for named nmdm consoles, and partial commands
It's now possible to run commands such as "vm l" or "vm conf <guest>"
Also named console ports allows us to not bother trying to find the next nmdm number
2018-06-22 07:41:53 +00:00
Matt Churchyard
6b74268c7b Simply code to check existance of custom bridge interface 2018-06-21 14:41:02 +00:00
Matt Churchyard
f720c67791 switch::vale::create broken - switch name is not passed as an argument 2018-06-21 13:40:49 +00:00
Matt Churchyard
9a908b95fc Add bhyveload_loader and also vtcon list to "vm info" 2018-06-21 12:22:35 +00:00
Matt Churchyard
ea58aaf6d7 Rewrite virtio-console support
Guest "virt_consoleX" option now supports both numbered & named ports.
Up to 16 can be added to a guest.
2018-06-21 11:12:20 +00:00
Matt Churchyard
1dc6135cc9 Fix #147. Exit with message if grub-bhyve requested but not found 2018-06-20 12:30:41 +00:00
Matt Churchyard
cb600bcc22 Add listing to guest info for issue #97
Think adding this to `vm list` adds too much complexity when the zfs commands
do a much better job. Having this in info output as commented is a nice idea though.
2018-06-20 12:14:40 +00:00
Matt Churchyard
b4c24b33e8 Finally address #110
Use the -f option to force commands such as reset/destroy/poweroff.
Unfortunately this same option is used for foreground mode when running a vm,
but -f ties up with the force option for many other commands.
2018-06-20 11:59:09 +00:00
Matt Churchyard
9f76d63817 Address #211 - default.conf should be availble by default
This allows basic guests to be created without getting an error about a missing
template, or requiring the user to manually create/copy it.
2018-06-20 09:39:35 +00:00
Matt Churchyard
6a75c20ca3 Try to address #221 - clone not changing mac address
Create new "generalise" function specifically to remove any fixed configuration
from a guest. This can then be used in any situation where a guest may be copied.
Tested with clone and both uuid & mac are removed. (Note this just removes settings, based
on the fact that these will be generated on next boot)
2018-06-20 09:18:00 +00:00
Matt Churchyard
2382826f8c Remove docs for send/recv for now
This feature requires a lot more testing/development
2018-06-19 07:53:08 +00:00
Matt Churchyard
33b20061ee Small change to vnc option description 2018-06-18 09:38:08 +00:00
Matt Churchyard
15c383fa9c Few changes to the manpage 2018-06-18 08:31:44 +00:00
Matt Churchyard
ca3ff477b7 Merge branch 'master' of https://github.com/churchers/vm-bhyve
Merge local changes and GitHub pull requests
2018-06-18 08:22:31 +00:00
Matt Churchyard
2c77228708 Add ability to configure standard switch address 2018-06-18 08:22:17 +00:00
Matt Churchyard
1d3e0f7125 Merge pull request #210 from ln5/doc
Argument to `create -s` is in bytes, not GB.
2018-06-12 17:02:19 +01:00
Matt Churchyard
b4f2aa68f0 Merge branch 'master' into doc 2018-06-12 17:01:56 +01:00
Matt Churchyard
e075bef7ee Merge pull request #213 from 0mp/readme
Use sysrc instead of echo to modify rc.conf
2018-06-11 11:57:00 +01:00
Matt Churchyard
e718a9c5cc Merge pull request #214 from 0mp/makefile
Change Makefile to be more Ports-friendly
2018-06-11 11:54:24 +01:00
Matt Churchyard
cbfea8cdec Merge pull request #215 from 0mp/manual
Lint the manual with `mandoc -Tlint`
2018-06-11 11:52:41 +01:00
Mateusz Piotrowski
221440b95b Use .Lk for hyperlinks 2018-05-26 02:19:21 +02:00
Mateusz Piotrowski
806e7c4fa4 Use .Fx, .Ox and .Nx macros when referring to BSDs 2018-05-26 02:19:21 +02:00
Mateusz Piotrowski
6d42d5ac97 Fix other mandoc -Tlint warnings and style issues 2018-05-26 02:19:21 +02:00
Mateusz Piotrowski
3cd77a1700 Pet mandoc -Tlint: WARNING: new sentence, new line 2018-04-30 02:50:49 +02:00
Mateusz Piotrowski
92ed793f8d Remove trailing whitespace 2018-04-30 02:11:27 +02:00
Mateusz Piotrowski
d037341b21 Change Makefile to be more Ports-friendly
Changes:

 - Remove unnecessary variables.
 - Use DESTDIR so that the install target could be used in the FreeBSD
   port instead of a custom 'do-install' target.
2018-04-30 02:00:10 +02:00
Mateusz Piotrowski
769e83ca33 Use sysrc instead of echo to modify rc.conf
While here, fix a typo.
2018-04-30 01:14:43 +02:00
Linus Nordberg
55f716b048 Argument to create -s is in bytes, not GB. 2018-04-24 16:23:02 +02:00
Matt Churchyard
805c074237 Minor fixes 2018-04-19 13:36:36 +00:00
Matt Churchyard
b71a71642e Merge pull request #200 from handcode/master
fixed typo in var name
2018-04-19 14:56:24 +01:00
Matt Churchyard
eb8c675804 Merge pull request #205 from nihr43/master
Add amd-vi passthrough support
2018-04-19 14:56:06 +01:00
nihr43
a36728f4fe check for amdvi support 2018-03-20 22:08:17 -05:00
nihr43
ad6bde19df check for amdvi support 2018-03-20 22:03:25 -05:00
Jens Giessmann
f420282d1c fixed typo in var name 2018-02-13 21:21:00 +01:00
Matt Churchyard
a85ef7c4e9 Make sure owner the owner can read disk image files 2018-02-09 09:52:23 +00:00