Migration Notes

Some notes I took down as I stood up my new zone hosted by https://mnx.io.

Some notes I took down as I stood up my new zone hosted by https://mnx.io.

Pkgsrc branch switch

pkgin up
pkgin fug
curl -LO https://pkgsrc.joyent.com/packages/SmartOS/bootstrap-upgrade/bootstrap-2019Q2-x86_64-upgrade.tar.gz
curl -LO https://pkgsrc.joyent.com/packages/SmartOS/bootstrap-upgrade/bootstrap-2019Q2-x86_64-upgrade.tar.gz.asc
curl -sS https://pkgsrc.joyent.com/pgp/DE817B8E.asc | gpg --import
gpg --verify bootstrap-2019Q2-x86_64-upgrade.tar.gz.asc
PKG_PATH=http://pkgsrc.joyent.com/packages/SmartOS/2019Q2/x86_64/All pkg_add -U pkg_install pkgin
gtar -xzvf bootstrap-2019Q2-x86_64-upgrade.tar.gz -C /
pkgin full-upgrade
rm bootstrap-2019Q2-x86_64-upgrade.tar.gz*
sm-set-hostname shalman-20191007

Reference: https://pkgsrc.joyent.com/install-on-illumos/#64bit-upgrade

Salt

pkgin in salt
mkdir -p /srv/spm/salt
# put stuff into place under /srv/spm/salt
salt-call --local state.apply

Hurricane Electric Tunnel

dladm create-iptun -T ipv4 -a \
  local=67.158.54.193,remote=184.105.253.14 v4_he0
ipadm create-addr -T static -a \
  local=2001:470:1f10:251::2,remote=2001:470:1f10:251::1 v4_he0/v6
route -p add -inet6 default 2001:470:1f10:251::1

Reference: https://blog.brianewell.com/hurricane-electric-on-smartos/

SSL related updates