forked from Stefar77/cbsd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement ability to use the pre compiled base from other sources via…
… specify path to archve ( https://github.com/olevole/cbsd/issues/57 ); bhyve fixes: soft shutdown
- Loading branch information
Showing
28 changed files
with
531 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
product="CBSD" | ||
myversion="10.3.0" | ||
myversion="10.3.2" | ||
|
||
if not workdir then | ||
print ( "no workdir" ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ device vt_vga | |
nooptions VESA | ||
|
||
options VIMAGE | ||
options CAM_NETFLIX_IOSCHED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ device vt_vga | |
nooptions VESA | ||
|
||
options VIMAGE | ||
options CAM_NETFLIX_IOSCHED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ device vt_vga | |
nooptions VESA | ||
|
||
options VIMAGE | ||
options CAM_NETFLIX_IOSCHED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ device vt_vga | |
nooptions VESA | ||
|
||
options VIMAGE | ||
options CAM_NETFLIX_IOSCHED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
include GENERIC | ||
|
||
ident GENERIC_CBSD | ||
|
||
nooptions KDB # Enable kernel debugger support. | ||
nooptions KDB_TRACE # Print a stack trace for a panic. | ||
nooptions DDB # Support DDB. | ||
nooptions GDB # Support remote GDB. | ||
nooptions DEADLKRES # Enable the deadlock resolver | ||
nooptions INVARIANTS # Enable calls of extra sanity checking | ||
nooptions INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS | ||
nooptions WITNESS # Enable checks to detect deadlocks and cycles | ||
nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed | ||
nooptions MALLOC_DEBUG_MAXZONES | ||
|
||
options TERMINAL_NORM_ATTR=(FG_GREEN|BG_BLACK) | ||
options VT_FB_DEFAULT_WIDTH=1024 | ||
options VT_FB_DEFAULT_HEIGHT=768 | ||
nodevice sc | ||
nodevice vga | ||
device vt | ||
device vt_vga | ||
nooptions VESA | ||
|
||
options VIMAGE | ||
options CAM_NETFLIX_IOSCHED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# don't remove this line: | ||
vm_profile="ubuntuserver-x86-16.04" | ||
|
||
# this is one-string additional info strings in dialogue menu | ||
long_description="Linux UbuntuServer LTS 16.04 x86-64 (64 bit) architecture" | ||
|
||
# custom settings: | ||
fetch=1 | ||
bhyve_flags="-W" # Additional bhyve(8) flags | ||
|
||
# grub-bhyve command to boot from IMG | ||
grub_boot_cmd="/usr/bin/lockf -s -t0 /tmp/bhyveload.${jname}.lock grub-bhyve -r hd0,msdos1 -m ${_devicemap} -M ${grubmem} ${jname}" | ||
|
||
# grub-bhyve command to boot from ISO | ||
grub_iso_cmd="/usr/bin/lockf -s -t0 /tmp/bhyveload.${jname}.lock grub-bhyve -r cd0 -m ${_devicemap} -M ${grubmem} ${jname}" | ||
|
||
iso_site="http://mirror.corbina.net/ubuntu-cd/16.04/ \ | ||
http://mirror.yandex.ru/ubuntu-releases/16.04/ \ | ||
http://de.releases.ubuntu.com/16.04/ \ | ||
http://releases.ubuntu.com/16.04/" | ||
|
||
iso_img="ubuntu-16.04-server-amd64.iso" | ||
|
||
default_jailname="ubuntusrv" | ||
imgsize="6g" | ||
boot_from_grub=1 | ||
|
||
# disable profile? | ||
active=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,9 @@ wallclock \ | |
pcpu \ | ||
fsquota \ | ||
nice \ | ||
bw" | ||
bw \ | ||
readbps \ | ||
writebps \ | ||
readiops \ | ||
writeiops" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Default SQL scheme for DB nodes::nodelist | ||
#MYTABLE="expose" | ||
MYCOL="pin pout proto inaddr" | ||
|
||
pin="INTEGER UNIQUE PRIMARY KEY" | ||
pout="TEXT" | ||
proto="VARCHAR(5) DEFAULT 'tcp'" | ||
inaddr="VARCHAR(128) DEFAULT 'nodeip'" | ||
|
||
INITDB="" | ||
CONSTRAINT="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.