Instructions for building a NetBSD VM
vmadm create < netbsd-install.json
vmadm list
zoneuuid=...
cp NetBSD-6.0-amd64.iso /zones/$zoneuuid/root/netbsd.iso
vmadm boot $zoneuuid order=cd,once=d cdrom=/netbsd.iso,ide
#!/bin/bash -x | |
# based on: http://superuser.com/questions/386506/hosting-iscsi-on-smartos | |
GROUPNAME=iscsi-1 | |
TARGETNAME=iqn.2010-08.org.illumos:02:$GROUPNAME | |
LOCAL_ADDRESS=192.168.1.2 | |
svcadm enable stmf | |
svcadm enable -r svc:/network/iscsi/target:default |
class Multimethod | |
attr_accessor :dispatch, :methods, :heirarchy, :default_method | |
class NoMatchingMethodError < StandardError | |
end | |
def initialize(&dispatch) | |
@dispatch = dispatch | |
@methods = [] | |
@heirarchy = {} | |
end |
#!/bin/sh | |
# find_network.sh - An OpenBSD Wireless Network configurator | |
# Looks for available networks listed at the end of the script | |
# Use this by adding "!/path/to/find_network.sh \$if" to your wlan hostname.if | |
if=$1 | |
if [ -z "$if" ]; then | |
echo "Usage: $0 interface" >&2 | |
exit 2; | |
fi |
### Config Start | |
width = 2560 | |
height = 24 | |
fg = "'#66FFFFFF'" | |
bg = "'#AA000000'" | |
font = "-xos4-terminus-*-*-*-*-18-*-*-*-*-*-*-*" | |
def workspace | |
case `bspc query -D -d`.chomp |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |
esp=/efi | |
distro=archlinux | |
mkdir -p $esp/EFI/$distro | |
# Generate UEFI Unified Image | |
dracut --force --verbose --kver $(uname -r) $esp/EFI/$distro/linux+initramfs.efi.signed | |
# Create UEFI boot manager entry | |
efibootmgr --quiet --create --disk /dev/disk/by-label/EFI --label 'Arch Linux' --loader /EFI/$distro/linux+initramfs.efi.signed |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08: