diff options
Diffstat (limited to 'nspawn/clone.sh')
| -rw-r--r-- | nspawn/clone.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nspawn/clone.sh b/nspawn/clone.sh new file mode 100644 index 0000000..2256ab7 --- /dev/null +++ b/nspawn/clone.sh @@ -0,0 +1,5 @@ +cd /var/lib/machines +cp -a grokloc go +truncate -s 0 go/etc/machine-id +echo "go" | tee /var/lib/machines/go/etc/hostname +cp /etc/systemd/nspawn/grokloc.nspawn /etc/systemd/nspawn/go.nspawn |
