Port details |
- bhyve-rc FreeBSD RC script for starting bhyve guests in tmux
- 4 sysutils
=3 4Version of this port present on the latest quarterly branch. - Maintainer: grembo@FreeBSD.org
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2014-08-21 15:06:25
- Last Update: 2022-07-20 14:23:05
- Commit Hash: ea71236
- People watching this port, also watch:: beadm, json-c, py39-pycparser, tmux, glib
- License: not specified in port
- Description:
- FreeBSD RC script to start bhyve guests in tmux.
¦ ¦ ¦ ¦ ![SVNWeb SVNWeb](/images/subversion.png)
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- bhyve-rc>0:sysutils/bhyve-rc
- To install the port:
- cd /usr/ports/sysutils/bhyve-rc/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/bhyve-rc
- pkg install bhyve-rc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: bhyve-rc
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- tmux : sysutils/tmux
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_bhyve-rc
- pkg-message:
- For install:
- Configuration is done completely though rc.conf.
The rc script won't touch any devices for you (neither disk, nor tap)
so you need to make sure all of those have been initialized properly.
General setup:
kldload vmm
net.link.tap.up_on_open=1
Make it persistent:
echo "net.link.tap.up_on_open=1" >> /etc/sysctl.conf
cat >> /boot/loader.conf << EOF
vmm_load="YES"
EOF
Minimal example:
cat >> /etc/rc.conf << EOF
cloned_interfaces="tap0 bridge0"
bhyve_enable="YES"
bhyve_diskdev="/dev/zvol/tank/bhyve/virt"
EOF
ifconfig tap0 create
ifconfig bridge0 create
service bhyve start
tmux list-sessions
tmux attach -t bhyve
service bhyve status
service bhyve stop
Multi profile configuration example:
cat >> /etc/rc.conf << EOF
cloned_interfaces="tap0 tap1 bridge0"
bhyve_enable="YES"
bhyve_profiles="virt1 virt2"
bhyve_virt1_diskdev="/dev/zvol/tank/bhyve/virt1"
bhyve_virt2_tapdev="tap1"
bhyve_virt2_diskdev="/dev/zvol/tank/bhyve/virt2"
bhyve_virt2_memsize="8192"
bhyve_virt2_ncpu="4"
EOF
ifconfig tap0 create
ifconfig tap1 create
ifconfig bridge0 create
service bhyve start # start all
service bhyve start virt2 # start individual
tmux attach -t bhyve_virt1
tmux attach -t bhyve_virt1
service bhyve stop virt2 # stop individual
service bhyve stop # stop all
(by default ctrl-b d detaches from tmux).
- Master Sites:
- There is no master site for this port.
|
Number of commits found: 12
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4 20 Jul 2022 14:23:05
![commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4](/images/git.png) ![commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4](/images/codeberg.svg) ![commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Tobias C. Berner (tcberner) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
4 16 Jun 2022 21:31:05
![commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722 commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722](/images/git.png) ![commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722 commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722](/images/codeberg.svg) ![commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722 commit hash: 00ee9c96c68c854851905e3a7480fbe215efe722](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Bryan Drewery (bdrewery) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
sysutils/bhyve-rc: Fix writing to /dev/null in rc script |
3 06 Apr 2021 14:31:13
![commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d](/images/git.png) ![commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d](/images/codeberg.svg) ![commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Mathieu Arnold (mat) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
all: Remove all other $FreeBSD keywords. |
3 06 Apr 2021 14:31:07
![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/git.png) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/codeberg.svg) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Mathieu Arnold (mat) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Remove # $FreeBSD$ from Makefiles. |
3 08 Oct 2019 08:23:49
![Revision:514054 Revision:514054](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
grembo ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Consolidate all my ports under my @FreeBSD.org address.
Also: Fix PORTSCOUT regex of devel/ice to include DISTVERSIONPREFIX. |
3 14 Aug 2019 12:16:13
![Revision:508909 Revision:508909](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
mat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Convert to UCL & cleanup pkg-message (categories s) |
3 03 Jan 2017 11:01:06
![Revision:430454 Revision:430454](/images/subversion.png) ![Sanity Test Failure Sanity Test Failure](/images/stf.gif) |
mat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Cleanup BROKEN/IGNORE for 10.3-
Sponsored by: Absolight |
3 01 Apr 2016 14:25:18
![Revision:412349 Revision:412349](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
mat ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
3 16 Nov 2015 19:01:22
![Revision:401782 Revision:401782](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
grembo ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Fix to start bhyve properly on 10.2.
PR: 204111
Approved by: mentors (implicit) |
2 22 Jun 2015 18:13:24
![Revision:390307 Revision:390307](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
grembo ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Fix for newer versions of behyve (-S was removed).
PR: 201044
Submitted by: Denys Razumov <zxzharmlesszxz@gmail.com> |
1 01 Apr 2015 22:19:34
![Revision:382964 Revision:382964](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
jgh ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
- remove do_nada and use options in favor of pre for osversion checking
Approved by: portmgr (blanket) |
1 21 Aug 2014 15:06:16
![Revision:365563 Revision:365563](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
adamw ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Add sysutils/bhyve-rc: FreeBSD RC script to start bhyve guests in tmux.
PR: 183604
Submitted by: Michael Gmelin |
Number of commits found: 12
|