Skip to content

Instantly share code, notes, and snippets.

View cjj25's full-sized avatar

cjj25

  • United Kingdom
View GitHub Profile
@cjj25
cjj25 / linked-clone.sh
Created October 10, 2021 13:49 — forked from aojea/linked-clone.sh
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