Skip to content

Instantly share code, notes, and snippets.

install centos under OmniOS via bhyve and the new zone administration tool 'zadm'
----------------------------
install zadm & illumos brand
----------------------------
global:# pkg install zadm brand/bhyve
--------------------------------------
create a zfs mountpoint to store zones
@TyrfingMjolnir
TyrfingMjolnir / README.md
Last active September 22, 2023 18:57
Some example bhyve zone files for Joyent SmartOS

A minor list of how to create and boot a Bhyve-zone in Joyent SmartOS

cd /opt/local/artifacts/
vim zonemanifestBhyveFreeBSD.json
vmadm create < zonemanifestBhyveFreeBSD.json
curl -kLo /zones/UUID/root/FreeBSD-12.0-RC3-amd64-bootonly.iso

The following line is for KVM, not BHYVE, hence obsoleted for non-legacy boot options

cd /zones/<<UUID>>/root/
@mgerdts
mgerdts / zonecfg.md
Created January 23, 2018 23:50
bhyve zone config
create -b
set zonepath=/zones/b2
set brand=bhyve
set autoboot=false
set limitpriv=default
set ip-type=exclusive
set uuid=fc0fbfdb-dbf6-c26d-9a5e-b20099b5ecf7
add net
set allowed-address=172.26.17.202
@lefticus
lefticus / chaiscript_inheritance.cpp
Created October 13, 2014 05:21
Example of Emulating Inheritance in ChaiScript and Sharing with C++
#include <chaiscript/chaiscript.hpp>
#include <chaiscript/chaiscript_stdlib.hpp>
class BaseClass
{
public:
BaseClass()
{
}