Skip to content

Instantly share code, notes, and snippets.

View jblachly's full-sized avatar

James S Blachly, MD jblachly

View GitHub Profile

rem_drv hid

//add doesnt work because 'ugen' already in use

//add_drv -i '"/dev"' -m '* 0666 nut root' -v ugen

update_drv -a -i '"usb9ae,3015.20a"' -m '* 0666 nut root' -v ugen

usb-vendor-id: 9ae usb-product-id: 3015

@jblachly
jblachly / cloudinit-tips.md
Last active March 9, 2022 07:49
SmartOS (standalone) cloudinit setup for KVM images

The following keys, when placed in the customer_metadata section of the VM definition JSON will effect the specified behaviour:

smartos key corresponds to cloudinit key effect
hostname local-hostname
root_authorized_keys public-keys copies to /root/.ssh and default user ~/.ssh (e.g., ubuntu)
user-script user-script Executed each boot
user-data legacy-user-data
cloud-init:user-data user-data Evaluated by cloud-init once at VM creation only
iptables_disable iptables_disable ?