Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.07 KB

notes.org

File metadata and controls

31 lines (27 loc) · 1.07 KB

FreeBSD ZFS-on-root on GCP and AWS with Poudriere

GCP

  • Make a disk.raw file, then `tar –format=gnutar -zcf myimage.tar.gz disk.raw` (from src/release GCE tool)
  • Upload it to GCP storage
  • `gcloud compute images create myimage –source-uri=gs://mybucket/myimage.tar.gz –guest-os-features=UEFI_COMPATIBLE`

AWS

  • Upload image to S3
  • Create a snapshot: `aws ec2 import-snapshot –disk-container Format=raw,Url=s3://mybucket/myimage.img`
  • Make an AMI (use UEFI boot) I used console, need to figure out command line

Disable ssh-agent in xfce4

`xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false`

from https://notebook.niklaas.eu/xfce-disable-ssh-agent/

Add FreeBSD package categories

In make.conf: VALID_CATEGORIES+= my_category

/usr/local/etc/poudriere.d/make.conf (or more specific conf files)

Swap caps lock and control

Per-session: src{setxkbmap -option ctrl:nocaps}

Permanent:

Section "InputClass"
	Identifier "Map caps lock to ctrl"
        MatchIsKeyboard "on"
        Option "XkbOptions" "ctrl:nocaps"
EndSection