Skip to content

Instantly share code, notes, and snippets.

View dj4ngo's full-sized avatar

Sebastien Boyron dj4ngo

View GitHub Profile
@giovtorres
giovtorres / virt-install-centos
Last active March 15, 2023 09:57
Install CentOS cloud images on KVM using cloud-init
#!/bin/bash
## **Updates to this file are now at https://github.com/giovtorres/kvm-install-vm.**
## **This updated version has more options and less hardcoded variables.**
# Take one argument from the commandline: VM name
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
@4383
4383 / commiters-merge-request.md
Last active October 12, 2017 14:18
[commiters] Merge properly a PR for a linear history without merge commit

consider an upstream project based on git@github.com:fake-group/fake-project.git

$ git clone git@github.com:fake-group/fake-project.git
$ cd fake-project

show history before

$ git log
commit dbb2b36dc57ac84fb05d6a601dac35f5caf813af
Author: Hervé Beraud <herveberaud.pro@gmail.com>