Skip to content

Instantly share code, notes, and snippets.

View skinny's full-sized avatar

Mark Gerrits skinny

  • Almere, Netherlands
View GitHub Profile
@skinny
skinny / envs.json
Last active February 9, 2024 14:29
envs json
[
{
"id": "abcd",
"host": "api.axpp808s.on-eva.io"
}
]
@skinny
skinny / commands.md
Last active March 9, 2023 13:20
lb change
  • Create a new temporary LB in the same RG as the AKS LB (templb)

  • Create an empty backendpool on this LB (temppool)

  • Run

RG=MC_rg-k8s-test_k8s-test_westeurope
az vmss update --resource-group $RG --name aks-agentpool-33436152-vmss \
--remove virtualMachineProfile.networkProfile.networkInterfaceConfigurations[0].ipConfigurations[0].loadBalancerBackendAddressPools 0

This will remove the vmss from the outbound pool on the AKS LB

apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
component: resolv
tier: node
name: resolv
namespace: default
spec:
selector:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
WARNING: ostree-2021.3-r0 do_fetch: Failed to fetch URL gitsm://gitlab.gnome.org/GNOME/libglnx.git;protocol=https;name=libglnx;subpath=libglnx;bareclone=1;nobranch=1, attempting MIRRORS if available
ERROR: ostree-2021.3-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/opt/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot-native/usr/bin/python3-native:/opt/yocto/poky/scripts:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot/usr/bin/crossscripts:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot-native/usr/sbin:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot-native/usr/bin:/opt/yocto/poky/build/tmp/work/core2-64-poky-linux/ostree/2021.3-r0/recipe-sysroot-native/sbin:/opt/y
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/opt/yocto/poky/meta \
/opt/yocto/poky/meta-poky \
Good day everyone! I have started my buildroot adventure last week to see if I can build a custom OS for our board. However to first learn the basics I'm working with QEMU and the PC configs that are included in the default buildroot repository.
I use WSL2 to build the images and what I see is the following (all steps are performed on a clean working space):
- make qemu_x86_64_defconfig; make; ./start-qemu works OK (boots to login prompt)
- make qemu_x86_defconfig; make; ./start-qemu works OK (boots to login prompt)
- make pc_x86_64_efi_defconfig: make;
Then I try to start that last disk.img with the following (googled) command :
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
HELLO WORLD
stationmap.yaml :
'1815-1991-7288-3225-9558-4541-07':
station-id: 19
organizationunit-id: 15
country-id: 'NL'
map.jinja :
@skinny
skinny / tenant.yml
Last active July 21, 2020 14:55
tenant.yaml
parameters:
tenant:
version: v1901241