This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
apt purge bpfcc-tools libbpfcc python3-bpfcc | |
wget https://github.com/iovisor/bcc/releases/download/v0.25.0/bcc-src-with-submodule.tar.gz | |
tar xf bcc-src-with-submodule.tar.gz | |
cd bcc/ | |
apt install -y python-is-python3 | |
apt install -y bison build-essential cmake flex git libedit-dev libllvm11 llvm-11-dev libclang-11-dev zlib1g-dev libelf-dev libfl-dev python3-distutils | |
apt install -y checkinstall | |
mkdir build | |
cd build/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -u | |
CHARMS=( | |
aodh | |
barbican | |
barbican-vault | |
ceilometer | |
ceilometer-agent | |
ceph-fs | |
ceph-iscsi | |
ceph-mon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUILT_PATCHES=debian/patches | |
QUILT_NO_DIFF_INDEX=1 | |
QUILT_NO_DIFF_TIMESTAMPS=1 | |
QUILT_REFRESH_ARGS="-p ab" | |
QUILT_DIFF_ARGS="--color=auto" # If you want some color when using `quilt diff`. | |
QUILT_PATCH_OPTS="--reject-format=unified" | |
QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
ARCH=${1:-arm64} | |
IMAGES=/home/ubuntu/images | |
URL=https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-${ARCH}.img | |
LIBVIRT_IMAGES=/var/lib/libvirt/images | |
if ! [[ -d $LIBVIRT_IMAGES ]]; then | |
sudo apt install -y virtinst libvirt-daemon-system cloud-image-utils | |
sudo usermod -a -G libvirt-qemu $USER | |
newgrp libvirt-qemu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Description: wait until system load reaches threshold then start | |
# scripts and run for period then kill. | |
# | |
LIMIT=90 | |
RUNTIME=300 | |
SESSION_ID=`uuidgen` | |
declare -A PIDS=() | |
log () { echo -e "[`date '+%F %X'`] $@"; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -u | |
# Origin: https://gist.github.com/dosaboy/7bdd004d33d7eb39a93835576227ad4a | |
# | |
# Authors: | |
# - [email protected] | |
# | |
# Tested on Ubuntu Bionic Ussuri | |
# | |
# Description: | |
# Fix arp entries affected by https://bugs.launchpad.net/neutron/+bug/1916761. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -u | |
# Origin: https://gist.github.com/dosaboy/f0f0b88a0fcb3553d3eeb21c9bb3963e | |
# | |
# Authors: | |
# - [email protected] | |
# | |
# Tested on Ubuntu Bionic | |
# | |
# Description: | |
# Discover incorrect arp entries for rfp/fpr interfaces |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eu | |
# Origin: https://gist.github.com/dosaboy/d5de0a0fceea188f92109c96bdad49ad | |
# | |
# Authors: | |
# - [email protected] | |
# | |
# Tested on: | |
# - Ubuntu Bionic | |
# | |
# Description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This has been moved to https://github.com/dosaboy/openstack-toolkit. Please install the openstack-toolkit snap to get this check. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -u | |
# Origin: https://gist.github.com/dosaboy/45ed41d0c28d1656357dde40a87056fe | |
# | |
# Authors: | |
# - [email protected] | |
# | |
# Tested on Ubuntu Bionic | |
# | |
# Description: | |
# Discover missing default routes on qrouter namespaces |
NewerOlder