1 2 3 4 5
#!/bin/sh # call like 'import-container grokloc' gunzip "$1.tar.gz" mv "$1.tar" "$1" sudo machinectl import-tar "$1"