Commit Graph

596 Commits

Author SHA1 Message Date
Eric van Gyzen
67c205125a overwrite an existing vm-bhyve.8.gz link 2019-06-21 10:06:43 -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
Matt Churchyard
af31eba432 Merge pull request #302 from tub5ta/patch-1
Allow for custom UEFI firmware
2019-04-24 15:42:59 +01:00
Jason Tubnor
bf1d6211a5 Update for uefi-custom usage
Change adds the uefi-custom option so $vm_dir/.config/BHYVE_UEFI.fd works again after regression between 1.2.x and 1.3
2019-04-24 11:47:04 +10:00
Jason Tubnor
27c48353cf Add uefi-custom option
Modified the deprecation check to advise of the uefi-custom option.
2019-04-24 11:17:40 +10:00
Jason Tubnor
dfb8f0e865 Add option for custom UEFI loader
Allows for users to continue to use custom UEFI loaders as well as fixes regression introduced between 1.2.x and 1.3 where users maintained the loader within /vm/.config/BHYVE_UEFI.fd and guests no longer boot after upgrade (even though man page still stated /vm/.config/BHYVE_UEFI.fd was valid).
2019-04-23 20:21:58 +10:00
Matt Churchyard
76caea3b9b Merge pull request #301 from ocochard/patch-1
Fixing destroying vm in non-ZFS mode
2019-04-17 15:02:34 +01:00
Olivier Cochard-Labbé
36e35ff899 Fixing destroying vm in non-ZFS mode
Fixing issue https://github.com/churchers/vm-bhyve/issues/300
2019-04-16 17:26:18 +02:00
Matt Churchyard
7da944f990 Merge pull request #295 from ocochard/patch-1
No more disks limitation with latest UEFI firmware
2019-03-22 08:45:45 +00:00
Olivier Cochard-Labbé
816ac135af No more disks limitation with latest UEFI firmware
It seems we don't need to limit the number of disks since UEFI firmware version 0.2.
Tested with this setup: 2 ahci-hd, 2 nvme and 1 virtio-blk disks at the same time and no UEFI boot problem:
# kenv efi-version
2.40
# kenv smbios.system.product
BHYVE
# sysctl kern.disks
kern.disks: ada7 ada6 nda1 nda0 cd0 vtbd0
2019-03-02 01:10:06 +01:00
Matt Churchyard
d885a79ebd Fix #283 we shouldn't try to create a sparse file if template specifies a custom disk 2019-02-08 14:22:15 +00:00
Matt Churchyard
a9030484a9 Fix #276 vxlan switch might not hae a user provided address 2019-02-08 14:20:21 +00:00
Matt Churchyard
b98045d884 Bump version number with cloud-init support 2019-02-08 09:51:02 +00:00
Matt Churchyard
0363171024 Merge pull request #291 from runhyve/cloud-init
Add support for cloud-init
2019-02-08 09:50:11 +00:00
Matt Churchyard
7633c687b7 Merge pull request #258 from amutu/master
fix config for installing and running alpine 3.8
2019-02-08 09:41:28 +00:00
Mateusz Kwiatkowski
56b7825bdc Add note about cloud-init to README.md 2019-01-28 18:21:22 +01:00
Mateusz Kwiatkowski
76ae90be71 Make cloud-init optional and add pre-flight checks 2019-01-28 12:20:11 +01:00
Mateusz Kwiatkowski
6df1c74a7d Add support for injecting public key with cloud-init
Ref. https://github.com/churchers/vm-bhyve/issues/289
2019-01-28 11:52:06 +01:00
Matt Churchyard
960f95a34c Merge pull request #278 from runhyve/check-qemu-img
Check qemu img exit status
2019-01-04 11:50:12 +00:00
Matt Churchyard
a5b8fae58b Merge pull request #279 from brd/patch-1
Update README.md
2019-01-04 11:49:49 +00:00
Matt Churchyard
f860bcffd0 Merge pull request #287 from Duffyx/patch-1
Fix typo in vm
2019-01-04 11:49:15 +00:00
Dries Michiels
613dfc2901 Update vm 2018-12-24 17:11:37 +01:00
Brad Davis
90a263ec92 Update README.md
Use download.freebsd.org consistently instead of random mirrors or ftp.freebsd.org since it supports HTTPS.

Also update links to 11.2 instead of older releases.
2018-12-08 14:09:49 -07:00
Mateusz Kwiatkowski
9e561ac284 Check qemu-img exit code 2018-12-05 00:31:04 +01:00
Mateusz Kwiatkowski
d90fa6499c Add note about installing qemu-utils for cloud images 2018-12-05 00:30:41 +01:00
Matt Churchyard
813c73590d Merge pull request #275 from runhyve/vm-parameters
Add missing options to getopts in core::create
2018-11-30 09:12:55 +00:00
Mateusz Kwiatkowski
48a2a518cc Add missing options to getopts in core::create 2018-11-29 14:29:01 +01:00
Matt Churchyard
62e313a0ab Merge pull request #274 from runhyve/vm-parameters
Ability to override CPU and memory during VM creation
2018-11-29 11:19:15 +00:00
Matt Churchyard
b32f6826ef Merge branch 'master' into vm-parameters 2018-11-29 11:18:59 +00:00
Matt Churchyard
36ad50e907 Merge pull request #262 from runhyve/feature/virtual-images
Initial support for cloud images
2018-11-29 11:17:43 +00:00
Mateusz Kwiatkowski
c76ae38bd2 Ability to override CPU and memory during VM creation
Fixes #273
2018-11-28 21:36:20 +01:00
Mateusz Kwiatkowski
23f6eca40d Add note about cloud images to README.md 2018-11-16 14:51:08 +01:00
Matt Churchyard
ed18290d1d Make sure we provide a success exit code on create/destroy 2018-11-14 11:15:25 +00:00
Mateusz kwiatkowski
e1a0c5aaf0 Improve style 2018-10-17 12:05:15 +02:00
Mateusz kwiatkowski
e8953f273e Check whether qemu-img is available 2018-10-17 11:25:09 +02:00
Mateusz kwiatkowski
c880673426 Add support for .tar.gz cloud images 2018-10-17 11:13:40 +02:00
Mateusz kwiatkowski
9099746cba Extract image decompression to separate function
I also added support for .gz file while on that.
2018-10-17 10:13:49 +02:00
Mateusz kwiatkowski
2d14da7a2c Add sample template for linux on zvol 2018-10-17 08:54:05 +02:00
Mateusz kwiatkowski
5df6608b59 Use qemu-img dd to write image to volume
qemu-img dd should detect format of image and automatically convert
it to raw while writing to volume
2018-10-17 08:42:52 +02:00
Mateusz kwiatkowski
db6df5b4a6 Unbreak creating virtual machines without cloud image 2018-10-17 08:07:49 +02:00
Mateusz kwiatkowski
3ffbb52d5c Initial support for cloud images
Ref. https://github.com/churchers/vm-bhyve/issues/256
2018-10-17 07:47:19 +02:00
Matt Churchyard
c2ca98d4af Warn users that we've combined uefi setting into loader 2018-10-16 09:24:10 +01:00
Matt Churchyard
985d49fb3f Support ipv6 for standard switches - #257 2018-10-16 09:20:04 +01:00
Jov
73e95b3b02 fix missing name for switch address/private cmd 2018-10-15 15:07:38 +08:00
Jov
8f88fc4bc1 Merge pull request #1 from amutu/amutu-patch-1
fix config for installing and running alpine 3.8
2018-10-15 09:21:37 +08:00
Jov
08fcbff147 fix config for installing and running alpine 3.8 2018-10-13 17:42:13 +08:00
Matt Churchyard
5df10f2408 Add a "vm restart guest" command
This causes a guest shutdown but then restarts the guest without requiring a full
reload or destroying/re-creating network devices.
2018-10-09 11:09:09 +01:00
Matt Churchyard
edbcf6eed3 Remove uefi setting entirely and use loader=bhyveload/grub/uefi/uefi-csm
This provides a single, consistent way to configure boot method. the guest listing
now shows uefi and uefi-csm guests without having to fudge the uefi setting into loader column.
2018-10-09 10:34:25 +01:00
Matt Churchyard
0cf424198c Allow guests to have a system priority using renice 2018-10-08 15:43:59 +01:00
Matt Churchyard
f235a8ebbd Change loader="" to support bhyveload/grub/uefi
Makes some sense as we display "uefi" under "Loader" when listing guests and only one can be set.
Old uefi="" setting can still be set to "csm" to choose the csm firmware.
2018-10-08 11:39:49 +01:00