- BlueField-2 Quickstart Guide for Clemson R7525s
- NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: Host setup is little outdate. See
Host setup
bellow. - NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: “Rig for Dive” — Part III: Ultimate Cloudlab Setup
- NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: “Rig for Dive” — Part V: Install the Latest Bluefield OS with DPDK and DOCA
This font is manually patched with Fontforge. It includes the glyphs from DejaVu Sans Mono for Powerline.
I recommend DirectWrite-patched VIM builds. I'm using KaoriYa's build (http://www.kaoriya.net/software/vim/)
Add the following lines to your .vimrc/_vimrc:
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# (c) B.Kerler 2019 under MIT license | |
# If you use my code, make sure you refer to my name | |
# If you want to use in a commercial product, ask me before integrating it | |
import serial | |
import sys | |
import argparse | |
from binascii import hexlify, unhexlify |
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 | |
### Workaround | |
OLDCONFIG="$(find /oem -name "*99_custom.yaml.*" | sort | head -n1)" | |
cp /oem/99_custom.yaml /oem/99_custom.yaml.XXX | |
cp "${OLDCONFIG}" "/oem/99_custom.yaml" | |
### End Workaround |
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
#!/usr/bin/env python3 | |
import subprocess | |
# Need VPN to get this image | |
image = 'registry.suse.de/suse/containers/suse-microos/5.2/containers/suse/sle-micro-rancher/5.2:latest' | |
def get_zypper_packages(dockerfile): | |
with open(dockerfile, 'r') as f: |
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
EFI stub: Booting Linux Kernel... | |
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied | |
EFI stub: Using DTB from configuration table | |
EFI stub: Exiting boot services and installing virtual address map... | |
L3c Cache: 8MB | |
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x500f0000] | |
[ 0.000000] Linux version 4.15.0-20-generic (buildd@bos02-arm64-029) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubuntu3)) #21-Ubuntu SMP Tue Apr 24 06:16:20 UTC 2018 (Ubuntu 4.15.0-20.21-generic 4.15.17) | |
[ 0.000000] Machine model: APM X-Gene Mustang board | |
[ 0.000000] earlycon: uart8250 at MMIO32 0x000000001c020000 (options '') | |
[ 0.000000] bootconsole [uart8250] enabled |
It will restart the PPPoE connection every day at 7a.m
The benefit to using the task-scheduler
is that your commands get saved in config
folder which ensures that they get copied over during firmware upgrades.
cd /config/user-data && sudo mkdir scripts && sudo chown root scripts && cd scripts
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
interfaces { | |
ethernet eth0 { | |
address 140.131.179.251/23 | |
address 2001:288:1009:1178::251/64 | |
duplex auto | |
hw-id 00:50:56:90:ac:be | |
ipv6 { | |
dup-addr-detect-transmits 1 | |
router-advert { | |
cur-hop-limit 64 |
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
TUI | |
- | |
1. 顯示全部的種子狀態,包含進度條與速度 | |
2. 無須任何參數 | |
- | |
CLI | |
- |
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
rm -f /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.pyc | |
sed -i "/data\['pci_passthrough_/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py | |
sed -i "/self._get_pci_passthrough_devices()/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py |
NewerOlder