FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
bhyve-rc FreeBSD RC script for starting bhyve guests in tmux
3 sysutils on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: freebsd@grem.de search for ports maintained by this maintainer
Port Added: 21 Aug 2014 15:06:25
License: not specified in port
FreeBSD RC script to start bhyve guests in tmux.
SVNWeb : PortsMon

To install the port: cd /usr/ports/sysutils/bhyve-rc/ && make install clean
To add the package: pkg install bhyve-rc

PKGNAME: bhyve-rc

distinfo: There is no distinfo for this port.


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Runtime dependencies:
  1. tmux : sysutils/tmux
There are no ports dependent upon this port

Configuration Options
     No options to configure

pkg-mesage:
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: 5

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 14:25:18
Original commit files touched by this commit  3
Revision:412349
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
16 Nov 2015 19:01:22
Original commit files touched by this commit  3
Revision:401782
grembo search for other commits by this committer
Fix to start bhyve properly on 10.2.

PR:		204111
Approved by:	mentors (implicit)
22 Jun 2015 18:13:24
Original commit files touched by this commit  2
Revision:390307
grembo search for other commits by this committer
Fix for newer versions of behyve (-S was removed).

PR:		201044
Submitted by:	Denys Razumov <zxzharmlesszxz@gmail.com>
01 Apr 2015 22:19:34
Original commit files touched by this commit  1
Revision:382964
jgh search for other commits by this committer
- remove do_nada and use options in favor of pre for osversion checking

Approved by:	portmgr (blanket)
21 Aug 2014 15:06:16
Original commit files touched by this commit  1
Revision:365563
adamw search for other commits by this committer
Add sysutils/bhyve-rc: FreeBSD RC script to start bhyve guests in tmux.

PR:		183604
Submitted by:	Michael Gmelin

Number of commits found: 5

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chromiumJul 22
krb5-114Jul 21
mariadb100-server*Jul 21
mariadb101-server*Jul 21
mariadb55-server*Jul 21
mysql55-server*Jul 21
mysql56-server*Jul 21
mysql57-server*Jul 21
openoffice-4Jul 21
openoffice-develJul 21
percona55-server*Jul 21
typo3Jul 18
typo3-ltsJul 18
atutorJul 16
atutorJul 16

18 vulnerabilities affecting 35 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26059
Broken 80
Deprecated 122
Ignore 351
Forbidden 0
Restricted 201
No CDROM 83
Vulnerable 74
Expired 10
Set to expire 109
Interactive 0
new 24 hours 1
new 48 hours7
new 7 days24
new fortnight93
new month166

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.