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/import-container | |
| parent | a53c63c97c3e40d061737786e58b51af263af31a (diff) | |
new nspawn scripts
Diffstat (limited to 'nspawn/import-container')
| -rwxr-xr-x | nspawn/import-container | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nspawn/import-container b/nspawn/import-container new file mode 100755 index 0000000..04a075f --- /dev/null +++ b/nspawn/import-container @@ -0,0 +1,5 @@ +#!/bin/sh +# call like 'import-container grokloc' +gunzip "$1.tar.gz" +mv "$1.tar" "$1" +sudo machinectl import-tar "$1" |
