Skip to content

Instantly share code, notes, and snippets.

View initiateit's full-sized avatar

Jason King initiateit

View GitHub Profile
@aojea
aojea / linked-clone.sh
Last active February 25, 2024 01:59
Script to create a linked clone with libvirt
#!/bin/bash
set -xe
# This script takes as a parameter the name of the VM
# and creates a linked clone
# Ref: https://unix.stackexchange.com/a/33584
# The scripts assumes that it runs from the same folder
# where the vm image is located and it coincides with the
# image name