Skip to content
Snippets Groups Projects
Commit 0c89d9dd authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Not needed anymore

parent 19067d20
No related branches found
No related tags found
Loading
cp /data/indiehosters/unit-files/* /etc/systemd/system && systemctl daemon-reload
#!/bin/bash
cd
cp /etc/environment .
cp /var/lib/coreos-install/user_data .
tar cvzf /home/core/root-k4.tgz --exclude ./.cache/* .
chown core:core /home/core/root-k4.tgz
echo 'scp core@k4:root-k4.tgz .'
#!/bin/bash
docker rm -v $(docker ps -a -q -f status=exited)
docker rmi $(docker images -f "dangling=true" -q)
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker:/var/lib/docker --rm martin/docker-cleanup-volumes
#!/bin/bash -eux
systemctl list-units | grep failed | cut -d' ' -f2 | xargs systemctl status | grep lockfile.lock | cut -f4 -d: | xargs rm
systemctl list-units | grep failed | cut -d' ' -f2 | xargs systemctl start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment