summaryrefslogtreecommitdiff
path: root/nspawn/clone.sh
blob: 2256ab7d6ec8f1fb03d05437e21ff311060481b9 (plain)
1
2
3
4
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