Commit Graph

672 Commits

Author SHA1 Message Date
Matt Churchyard
c8b7c1d204 Hopefully fix #427 not a NetBSD user but looks like disk naming has changed 2022-02-25 10:15:40 +00:00
Matt Churchyard
be2203540f Add documentation for uefi_vars setting 2022-02-25 09:56:52 +00:00
Matt Churchyard
b977c60896 Add support for persistent uefi vars with uefi_vars=yes config option 2022-02-25 09:40:20 +00:00
Mateusz Kwiatkowski
a4d64064c0 Merge pull request #379 from tingox/master
fixed a couple of typos in the man page
2022-02-23 13:22:27 +01:00
Mateusz Kwiatkowski
61470e96a3 Merge pull request #418 from JamesRM/master
Fix typo in README.md.
2022-02-23 13:10:03 +01:00
Mateusz Kwiatkowski
f75d41f48d Merge pull request #422 from cgull/document-bhyveload_args
Document new bhyveload_args configuration option introduced in 678832df94
2022-02-23 13:06:36 +01:00
Mateusz Kwiatkowski
b7b40789f4 Merge pull request #430 from brd/fix-grammar
Fix grammar
2022-02-23 13:03:07 +01:00
Matt Churchyard
361856d23d Merge pull request #437 from runhyve/cloud-init-override-hostname
Allow override hostname with cloud-init configuration
2022-02-17 08:59:38 +00:00
Matt Churchyard
b6e73e3a31 Merge pull request #440 from runhyve/vm-name-length
Allow to use up to 229 characters for VM names on >=13.0
2022-02-15 16:26:56 +00:00
Matt Churchyard
d22917d69c Merge pull request #441 from runhyve/wait-zvol
Wait for storage device to appear when creating a VM
2022-02-15 16:26:34 +00:00
Matt Churchyard
8845bc160a Merge pull request #445 from laffer1/patch-1
MidnightBSD guests work with the default freebsd bhyveload
2022-02-15 15:39:10 +00:00
Matt Churchyard
232e2ce5af Merge pull request #446 from ddowse/sound
Add HD Audio device to guest via config
2022-02-15 15:38:07 +00:00
Daniel Dowse
10d726ebbe Add HD Audio device to guest via config 2022-01-28 03:37:31 +01:00
Lucas Holt
690f2e4596 MidnightBSD guests work with the default freebsd bhyveload 2021-12-31 18:00:09 -05:00
Mateusz Kwiatkowski
346e5bb4bd Allow to use up to 229 characters for VM names on >=13.0
The limit was increased in this commit: https://svnweb.freebsd.org/base?view=revision&revision=349948
2021-11-13 20:49:07 +01:00
Mateusz Kwiatkowski
c1d720d62c Wait for zvol to appear 2021-11-13 20:26:19 +01:00
Mateusz Kwiatkowski
31bcb7aeef Allow override hostname with cloud-init configuration
Currently hostname passed to cloud-init is set to VM's name.
With this change it's possible to override this with additional field
in network config. Example:

vm create -t grub -c 4 -m 4096M -i focal-server-cloudimg-amd64.img -s 12G -C -k /tmp/.sshpk.68067 -n 'nameservers=1.1.1.1,8.8.8.8;gateway=185.17.43.97;ip=185.17.43.100/27;netmask=255.255.255.224;hostname=myhostname.example.com' my_virtual_machine
2021-11-10 14:20:16 +01:00
Brad Davis
3f2f46f656 Fix grammar 2021-08-04 16:22:57 -06:00
John Hood
0ec8c91a3f Document new bhyveload_args configuration option. 2021-05-19 00:05:46 -04:00
James Mintram
57877b403f Update README.md 2021-05-01 21:33:12 +02:00
Matt Churchyard
678832df94 Fix #403 add config option to allow passing bhyveload arguments (bhyveload_args) 2021-03-18 13:17:57 +00:00
Matt Churchyard
55dd860070 Fix #399 documentation is not clear that specifying 'template.conf' will cause an error 2021-03-12 14:51:36 +00:00
Matt Churchyard
0d5905bd69 Reimplement the send/recv code as migrate
I believe some people did use this, but I had intermittent problems getting it to work reliably.
It has now been re-implemented as a single "migrate" command using ssh.

A guest can now be transferred completely from the source host using a single command.
See the man page for more details

vm migrate -s guest-name new-host

Ideally passwordless key-auth should be used, although not strictly necessary.
2021-03-12 14:48:01 +00:00
Matt Churchyard
79f44430d7 Allow auto interfaces to be given a specific name 2021-01-06 10:47:38 +00:00
Matt Churchyard
52a504e409 fix #382. change interface description to use delimiter not used in guest names 2021-01-05 09:47:58 +00:00
Matt Churchyard
3b7560cba6 fix #392 zvol device may not be available immediately 2021-01-05 09:23:28 +00:00
Matt Churchyard
9e0e096837 Merge pull request #391 from bronk0/patch-1
don't wait for graphics on DragonFly BSD
2021-01-05 09:20:52 +00:00
bronk0
3467e99cc0 don't wait for graphics
This was needed to get VNC console working
Truenas Core 12
Dragonflybsd 5.8
2020-11-18 12:02:21 +01:00
Torfinn Ingolfsen
6f9780898a fixed typo: acrd -> card 2020-07-27 17:11:33 +02:00
Torfinn Ingolfsen
e42ecc7796 fixed typo: byhve -> bhyve 2020-07-27 17:10:45 +02: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