Skip to content

Instantly share code, notes, and snippets.

View trodemaster's full-sized avatar
💭
Pushing buttons

Blake Garner trodemaster

💭
Pushing buttons
View GitHub Profile
# QEMU configure log Wed Mar 3 22:09:51 PST 2021
# Configured with: '/opt/local/var/macports/build/_Users_blake_code_blakeports_emulators_qemu/qemu/work/qemu-5.2.0/configure' '--prefix=/opt/local' '--cpu=aarch64' '--cc=/usr/bin/clang' '--objcc=/usr/bin/clang' '--host-cc=/usr/bin/clang' '--python=/opt/local/bin/python3.8' '--meson=internal' '--iasl=/usr/bin/false' '--enable-cocoa' '--disable-curses' '--disable-capstone' '--disable-sdl' '--disable-gtk' '--disable-opengl' '--enable-bzip2' '--disable-curl' '--disable-attr' '--disable-vde' '--disable-brlapi' '--disable-cap-ng' '--disable-spice' '--disable-libiscsi' '--disable-rbd' '--disable-smartcard' '--enable-libusb' '--disable-usb-redir' '--disable-seccomp' '--disable-linux-aio' '--disable-glusterfs' '--disable-rdma' '--disable-libssh' '--enable-vnc' '--disable-gnutls' '--disable-gcrypt' '--disable-nettle' '--disable-numa' '--disable-xen' '--disable-snappy' '--disable-lzo' '--disable-lzfse' '--disable-zstd' '--enable-gnutls' '--enable-vnc-sasl' '--enable-vnc-
{
name=Mac-Pro
ip_address=172.16.59.2
hw_address=1,0:c:29:c0:de:78
identifier=1,0:c:29:c0:de:78
lease=0x5fd92db9
}
{
name=Mac-Pro-2
ip_address=172.16.59.3
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: Located networkmapper configuration file using Fusion6: /Library/Preferences/VMware Fusion/networking
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: Unable to parse command : Expected 5 arguments. Received only 9. [add_nat_portfwd 9 tcp 9000 192.168.199.128 9000 port mapping for minio]
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: Interface "vlan0" as specified by `add_bridge_mapping` was not found on the current platform. This is a non-critical error. Ignoring.
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: GuestIP discovered device matching nat: vmnet8
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: GuestIP discovered device matching nat: vmnet9
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: Lookup up IP information...
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: GuestAddress found MAC address in VMX: 00:0c:29:c0:de:78
2020/12/13 19:12:57 packer-builder-vmware-iso plugin: Trying DHCP leases path: /var/db/vmware
#!/bin/bash
# install prerequsits as needed
sudo apt update
sudo apt install -y cloud-utils qemu-utils
# lets put the stuff here
mkdir ~/ubuntu2004cloudimg
cd ~/ubuntu2004cloudimg
This file has been truncated, but you can view the full file.
2020-11-10 22:57:25+00 localhost wifiFirmwareLoader[41]: open() failed: Operation not permitted
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: opendirectoryd (build 796.400) launched - installer mode
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [default] Failed to open file <private> [2: No such file or directory]
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [default] Initialize trigger support
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [default] Failed to open file <private> [2: No such file or directory]
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [default] Failed to open file <private> [2: No such file or directory]
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [default] created endpoint for mach service 'com.apple.private.opendirectoryd.rpc'
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [session] Registered RPC over XPC 'reset_cache' for service 'com.apple.private.opendirectoryd.rpc'
2020-11-10 22:57:25+00 localhost opendirectoryd[59]: [session] Regis
variable "enabled" {
type = bool
default = false
}
resource "null_resource" "update_portal" {
count = var.enabled ? 1 : 0
provisioner "local-exec" {
command = "echo \"It triggered\""
2020-08-21T15:31:13.416-07:00| vmx| I005: Log for VMware Fusion pid=79562 version=e.x.p build=build-16530630 option=Release
2020-08-21T15:31:13.416-07:00| vmx| I005: The host is 64-bit.
2020-08-21T15:31:13.416-07:00| vmx| I005: Host codepage=UTF-8 encoding=UTF-8
2020-08-21T15:31:13.416-07:00| vmx| I005: Host is Mac OS X 10.15.6 (19G2021) Darwin 19.6.0
2020-08-21T15:31:13.059-07:00| vmx| I005: VTHREAD 4557843904 "vmx" tid 8586745
2020-08-21T15:31:13.059-07:00| vmx| I005: DictionaryLoad: Cannot open file "/Library/Preferences/VMware Fusion/vsphereFeatures/techPreview.cfg": No such file or directory.
2020-08-21T15:31:13.059-07:00| vmx| I005: [msg.dictionary.load.openFailed] Cannot open file "/Library/Preferences/VMware Fusion/vsphereFeatures/techPreview.cfg": No such file or directory.
2020-08-21T15:31:13.059-07:00| vmx| I005: FeatureStateLib: Error while loading tech preview config file: /Library/Preferences/VMware Fusion/vsphereFeatures/techPreview.cfg, using default (disabled) for all Tech Preview features.
2
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
shopt -s nullglob nocaseglob
# kill all child proceses
kill_spawn() {
for SPAWN in $(pgrep -g $$); do
kill -9 $SPAWN
done
# Module creates a kv2 secrets path and configures base policies for access
# Create the kv-v2 mount
resource "vault_mount" "base" {
path = local.full_secrets_path
type = "kv-v2"
description = format("Shared secrets for all %s members", var.KV_PATH)
#lifecycle {
# prevent_destroy = true
#}
# Setup code-server on macos 10.15.x
https://github.com/cdr/code-server
Download a release binary for macOS
wget https://github.com/cdr/code-server/releases/download/v3.4.1/code-server-3.4.1-macos-amd64.tar.gz
# Unzip and put it someplace
tar -zxf ~/Downloads/code-server-3.4.1-macos-amd64.tar.gz -C ~/