Skip to content

Instantly share code, notes, and snippets.

@lukasnellen
lukasnellen / 00-serial-console.md
Last active September 11, 2024 06:08
kvm serial console for virtual machine

Serial console for KVM based VM and IPMI serial channel

grub and kernel console

Set in /etc/default/grub:

...
###GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0,115200n8 console=tty1"
GRUB_CMDLINE_LINUX=""
@jtyr
jtyr / VirtualBoxKickstart.md
Last active February 23, 2024 01:38
How to use kickstart in VirtualBox

How to use kickstart in VirtualBox

This short howto describes how to install VMs via kickstart in VirtualBox. It's using PXE functionality built into the NAT network mode of the VirtualBox. The following instructions apply to CentOS installation but it should work for any RedHat-based distro.

Prepare directory structure

@technobly
technobly / sparkBMP085.cpp
Last active January 2, 2016 18:19
BMP085/BMP180 Barometric Pressure + Temp sensor for Spark Core
//-----------------------------------------------------------------
// BMP085/BMP180 Barometric Pressure + Temp sensor for Spark Core
//=================================================================
// Copy this into a new application at:
// https://www.spark.io/build and go nuts!
//-----------------------------------------------------------------
// Technobly / BDub - Jan 2014
//=================================================================
/***************************************************