diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2025-10-19 12:38:35 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2025-10-19 12:38:35 -0500 |
| commit | 0a4e269791a13399291ff0a0f80a57b8965a3861 (patch) | |
| tree | a10a4cd4e967258c183cf5e6051befc9342e0d03 /nspawn/export-container | |
| parent | a53c63c97c3e40d061737786e58b51af263af31a (diff) | |
new nspawn scripts
Diffstat (limited to 'nspawn/export-container')
| -rwxr-xr-x | nspawn/export-container | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nspawn/export-container b/nspawn/export-container new file mode 100755 index 0000000..3b77c5b --- /dev/null +++ b/nspawn/export-container @@ -0,0 +1,6 @@ +#!/bin/sh +sudo machinectl export-tar "$1" > "$1-export" +mv "$1-export" "$1-export.tar" +echo "gziping..." +gzip "$1-export.tar" + |
