Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Don't remove build tools'
Browse files Browse the repository at this point in the history
  • Loading branch information
lhost authored and holms committed Apr 23, 2017
1 parent 8643a89 commit 0fed750
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions definitions/Debian-jessie-amd64-netboot/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Clean up
apt-get -y remove linux-headers-$(uname -r) build-essential
#apt-get -y remove linux-headers-$(uname -r) build-essential
apt-get -y autoremove
apt-get -y clean

Expand All @@ -9,8 +9,7 @@ rm /var/lib/dhcp/*

# Make sure Udev doesn't block our network
echo "cleaning up udev rules"
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
echo -n > /etc/udev/rules.d/70-persistent-net.rules
rm -rf /dev/.udev/
rm /lib/udev/rules.d/75-persistent-net-generator.rules

Expand Down

0 comments on commit 0fed750

Please sign in to comment.