babelbox-packer/scripts/cleanup.sh
Jan Dittberner 20e2a485ce Start port to Debian 12
- qemu installation works
- babelbox installation works
- system is broken after the first demo installation
2024-02-09 10:17:42 +01:00

13 lines
232 B
Bash
Executable file

#!/bin/sh
# Clean up
set -e
apt-get --yes clean
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
# Use systemd-resolved nameserver
echo "nameserver 127.0.0.53" > /etc/resolv.conf