Torfinn Ingolfsen
e42ecc7796
fixed typo: byhve -> bhyve
2020-07-27 17:10:45 +02:00
Domagoj Stolfa
5df88fa861
Get the kernel revision rather than the userspace revision for loading tuntap.
2020-07-08 15:54:21 +01:00
Matt Churchyard
776ae8dac9
Merge pull request #365 from NorwegianRockCat/start-before-pf-ipfw
...
Ensure bridges are created before firewalls start
2020-07-03 14:12:26 +01:00
Matt Churchyard
c4380ab58b
Merge pull request #366 from gloumps/uefi-devel
...
add uefi-devel option
2020-07-03 14:12:12 +01:00
gloumps
3c6831e236
add uefi-devel option
2020-04-14 14:02:21 -04:00
NorwegianRockCat
a5acc8cb25
Ensure bridges are created before firewalls start
...
Since the vm rc script can create bridges and since firewalls (like pf) may actually reference these bridges, make sure that the bridges are created before we start them. This makes the firewalls fail to start because an interface is missing.
2020-04-11 10:47:58 +02:00
Matt Churchyard
3d4d6a3a6c
Fix #355 - auto mode always setting on with 'auto' mode
2020-02-26 10:30:20 +00:00
Matt Churchyard
34670f3990
Merge pull request #356 from sarcasticadmin/sa/disk-docs-fix-1
...
disk0_size example should include suffix
2020-02-26 10:21:44 +00:00
Robert James Hernandez
38dcca285e
disk0_size example should include suffix
2020-02-25 23:04:23 -08:00
Matt Churchyard
75b57b3c98
Merge pull request #353 from grembo/master
...
Set interface name to vxlan switch name if name is short enough (<=12…
2020-02-14 11:32:53 +00:00
Michael Gmelin
355aa13ef7
Set interface name to vxlan switch name if name is short enough (<=12 chars)
...
when creating bridge interfaces, just like it's done for standard switches.
2020-02-13 18:45:33 +01:00
Matt Churchyard
5c8674939e
Create FUNDING.yml
2020-02-07 15:07:52 +00:00
Matt Churchyard
25701dfacc
Merge branch 'master' of https://github.com/churchers/vm-bhyve
...
Merge changes from GitHub
2020-02-05 16:02:38 +00:00
Matt Churchyard
6a6d3cb40f
Get correct stats for virtual interface in 'vm info'. more work would be required to support ip6
2020-02-05 16:02:22 +00:00
Matt Churchyard
2e3aac0e78
Merge pull request #339 from monsieurp/gentoo-linux-template
...
add a template file to install Gentoo Linux
2020-02-04 15:28:03 +00:00
Matt Churchyard
30eea9f3c1
Fix maximum name length in core::rename
2020-02-04 14:59:34 +00:00
Matt Churchyard
55a31bbeb2
only add null.iso if nulliso_fix is not off/no../false/0
2020-02-04 14:54:10 +00:00
Matt Churchyard
6e90fc9143
Create config::yesno to reduce clutter and vars in run functions just to check config file yes/no flags
2020-02-04 14:47:34 +00:00
Matt Churchyard
d06ee4132d
Remove checks for old uefi config setting
2020-02-04 14:25:16 +00:00
Matt Churchyard
392a640b24
Fix get_part whitespace handling and add uptime to vm list -v
2020-02-04 10:13:26 +00:00
Matt Churchyard
21db926695
VSZ seems to be fairly useless as it simply matches configured memory
2020-01-31 14:00:53 +00:00
Matt Churchyard
c5250b8097
ps output appears to use K by default, not bytes
2020-01-29 14:50:13 +00:00
Matt Churchyard
7fcf2c1d92
Provide a verbose list option to include cpu and memory usage from ps(1)
2020-01-29 14:45:26 +00:00
Matt Churchyard
495a62c671
Pull in bootdisk change from 1.4 - issue #344
2020-01-14 10:23:03 +00:00
Matt Churchyard
bc25f3f95a
Merge pull request #337 from cgull/fix-uart-console
...
Fix UART console on FreeBSD 12.1 and CURRENT.
2020-01-13 15:25:36 +00:00
Patrice Clement
f573421584
add Gentoo Linux template file
...
Closes: https://github.com/churchers/vm-bhyve/issues/208
Closes: https://github.com/churchers/vm-bhyve/issues/186
2019-11-27 01:07:22 +01:00
John Hood
07536b0b73
Fix UART console on FreeBSD 12.1 and CURRENT.
...
bhyve was doing UART console emulation on fd 0 for both reads and
writes. Commits r346550 and r352720 changed it to use fd 0 for input
and fd 1 for output on console.
Fix vm-bhyve to not redirect fd 1.
Fixes #332 .
2019-11-25 17:01:09 -05:00
Matt Churchyard
555af6a97e
sort info snapshots by creation
v1.4.0
2019-11-05 09:55:33 +00:00
Matt Churchyard
b215760b3b
reformat if_tuntap code slightly
2019-11-05 09:52:49 +00:00
Matt Churchyard
b5a68b8288
Merge pull request #312 from vangyzen/man-link
...
Install a vm-bhyve(8) man page link
2019-11-05 09:43:35 +00:00
Matt Churchyard
261e63b473
Merge pull request #318 from vangyzen/switch-remove-success
...
fix switch::remove status
2019-11-05 09:42:08 +00:00
Matt Churchyard
43849310f9
Merge pull request #310 from mwestza/patch-1
...
Fix config variable typo
2019-11-05 09:41:48 +00:00
Matt Churchyard
8385695edf
Merge pull request #320 from WanpengQian/nvme
...
Add nvme description since 12.0R support nvme emulation.
2019-11-05 09:40:56 +00:00
Matt Churchyard
de1a32d322
Merge pull request #319 from eborisch/iscsi
...
Add (existing session) iSCSI support.
2019-11-05 09:40:21 +00:00
Matt Churchyard
fb14da44e7
Merge pull request #325 from runhyve/feature/custom-cloud-init-location
...
Support network configuration in cloud-init
2019-11-05 09:37:08 +00:00
Matt Churchyard
c84e68bf53
Merge pull request #326 from TheHades/patch-2
...
Update README.md
2019-11-05 09:35:12 +00:00
Philipp
cbe29f3632
Update README.md
...
Fix command typo
2019-09-22 20:07:59 +00:00
Mateusz Kwiatkowski
7148594463
Include all files from cloud-init dir in seed.iso
2019-09-03 15:23:31 +02:00
Mateusz Kwiatkowski
fe0e1151ed
Move cloud-init bits to separate function
2019-08-30 21:11:05 +02:00
Mateusz Kwiatkowski
9dfa3e1f0c
Generate mac and pass to cloud-init
2019-08-21 23:38:59 +02:00
Wanpeng Qian
f7c0c13c2f
add nvme description since 12.0R support nvme emulation.
2019-07-02 12:03:46 +09:00
Eric A. Borisch
09b89a973a
Add (existing session) iSCSI support.
2019-06-25 17:08:14 -05:00
Eric van Gyzen
67c205125a
overwrite an existing vm-bhyve.8.gz link
2019-06-21 10:06:43 -05:00
Eric van Gyzen
415aba6cd9
fix switch::remove status
...
Make sure the vm comand's exit status indicates success,
even if config::core::remove did not.
2019-06-21 09:50:51 -05:00
Matt Churchyard
c2027a4fd3
Merge pull request #305 from skunkwerks/fix/handle-tuntap
...
handle unified tuntap(4) after r347241
2019-06-13 09:51:59 +01:00
Matt Churchyard
14eefb978d
Merge pull request #313 from eborisch/rctl-pattern-fix
...
vm-rctl: match bhyve command before name update
2019-06-13 09:50:47 +01:00
Eric A. Borisch
2ffabaa92e
vm-rctl: match bhyve command before name update
...
It takes about two seconds (on my 12.0-p5 system, at least) between bhyve launch (when the process is born) and when it updates its command name to from 'bhyve -c NCPU -m MEM ... ${_name}' to 'bhyve: ${_name}'. Change the pgrep pattern in vm-rctl to catch either state rather than fail and exit out.
2019-06-05 15:35:20 -05:00
Eric van Gyzen
f49f69526e
Install a vm-bhyve(8) man page link
...
Since the tool's name is `vm-bhyve`, and that's even the title of
the man page, `man vm-bhyve` should work. Make it so.
2019-06-04 16:04:23 -05:00
Matthew West
7bce34e3a0
Fix config variable typo
...
Should be "cpu_threads" plural. Matches other variables, and the wiki docs.
2019-05-30 23:30:39 +01:00
Dave Cottlehuber
16214543d2
handle unified tuntap(4) after r347241
...
In r347241 in FreeBSD HEAD, tun(4) and tap(4) have been merged.
We need to detect and handle which kernel module has to be loaded,
using the closest kernel ABI change in FreeBSD 13.0-CURRENT.
2019-05-22 13:09:31 +00:00