From cc268c06a2de5fa6856c098ad041877afaa6c4ad Mon Sep 17 00:00:00 2001 From: holger Date: Sat, 25 May 2024 20:46:08 +0200 Subject: [PATCH] machine-export.sh --- machine-export.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 machine-export.sh diff --git a/machine-export.sh b/machine-export.sh new file mode 100644 index 0000000..73f5d8a --- /dev/null +++ b/machine-export.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# export machine as tar.gz + +_container="minimal" + +machinectl stop $_container + +machinectl export-tar $_container $_container.tar.gz + +echo "done"