See fb.modes(5) and fbset(8) for details on these parameters.
The values here are useful for tools that read out framebuffers off the device to be presented elsewhere (like another computer).
| <!-- WARNING: this is an example, don't use it :) I guarantee nothing. I claim nothing. --> | |
| <!-- | |
| WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE | |
| OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: | |
| virsh edit esxi | |
| or other application using the libvirt API. | |
| --> | |
| <domain type='kvm'> |
See fb.modes(5) and fbset(8) for details on these parameters.
The values here are useful for tools that read out framebuffers off the device to be presented elsewhere (like another computer).
| #!/usr/bin/env nix-shell | |
| #! nix-shell -p kubectl -i bash | |
| outcolumns=( | |
| "NODE:metadata.name" | |
| "EXTERNAL-IP:status.addresses[?(@.type=='ExternalIP')].address" | |
| "ACTION-WANTED:metadata.annotations['bottlerocket\.aws\/action-wanted']" | |
| "ACTION-ACTIVE:metadata.annotations['bottlerocket\.aws\/action-active']" | |
| "STATE:metadata.annotations['bottlerocket\.aws\/action-state']" | |
| "HAS-UPDATE:metadata.annotations['bottlerocket\.aws\/update-available']" |
| #!/usr/bin/env bash | |
| set -e | |
| # GitHub username to include in the output name. | |
| USERNAME="jahkeup" | |
| # Git treeish referring to the last merge/rebased ref with Marlin. | |
| BASE_REF="refs/remotes/github/bugfix-2.0.x" | |
| git_marker="$(git describe --dirty=.wip --exclude='*' --always --abbrev=8 --all)" | |
| archive_name="$USERNAME-config-$(date -u +'%s')-$git_marker" |
| #!/usr/bin/env bash | |
| if ! hash platformio logger; then | |
| echo "ERROR: missing required commands" >&2 | |
| exit 1 | |
| fi | |
| log() { | |
| local level="${1:?log level required}" | |
| shift 1 |
direnv workspace environment helperUsing direnv, one can load the Bottlerocket environment to build single packages and iterate as needed.
# Assuming you have direnv installed:
curl -sSL https://gist.githubusercontent.com/jahkeup/1dd24208ec35596da7d78ffddcd0738a/raw/10-bottlerocket-os-direnv-dotenv.sh >> .envrc
direnv allow| #!/usr/bin/env bash | |
| FILES=$HOME/.ssh/config.d/* | |
| if [ -z "$FILES" ]; then | |
| echo "No files to reconfigure" | |
| exit 1 | |
| fi | |
| echo "# Generated by ssh-reconfigure $(date)" > $HOME/.ssh/config | |
| for f in ${FILES[*]}; do | |
| echo "# BEGIN $(basename $f)" >> $HOME/.ssh/config |
| FROM busybox:latest | |
| RUN echo "#!/no/interpreter" >> /nointerp.sh && \ | |
| chmod +x /nointerp.sh && \ | |
| echo "#!/bin/env ruby" >> /missing-from-path.sh && \ | |
| cp /missing-from-path.sh /nochmod.sh && \ | |
| chmod +x /missing-from-path.sh |
| { hostName, pkgs, ... }: | |
| { | |
| imports = [ | |
| ./hardware.nix | |
| ]; | |
| networking.hostName = hostName; | |
| time.timeZone = "America/Los_Angeles"; | |
| system.copySystemConfiguration = true; |
I hereby claim:
To claim this, I am signing this object: