Skip to content

Instantly share code, notes, and snippets.

View Qubasa's full-sized avatar
🐞

Luis Hebendanz Qubasa

🐞
View GitHub Profile
@Qubasa
Qubasa / linked-clone.sh
Created September 28, 2020 19:33 — 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