mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
The veewee configuration files used for the devcloud base-box build, as well as the newly introduced files used to create a system vm, were inappropriately identified as ASLv2 licensed and copyrighted by the ASF. The fixes: - The ASF headers stripped to match the source. - The files are now excluded from RAT checks in the root pom. - The tools/whisker/descriptor.xml file updated - The root LICENSE and NOTICE were re-generated Changes in the Apache Whisker templates for LICENSE and NOTICE files caused a good bit of whitespace oddness in this commit for those 2 files. Signed-off-by: Chip Childers <chip.childers@gmail.com>
21 lines
621 B
Bash
21 lines
621 B
Bash
# Clean up
|
|
#apt-get -y remove linux-headers-$(uname -r) build-essential
|
|
apt-get -y remove dictionaries-common busybox
|
|
apt-get -y autoremove
|
|
apt-get clean
|
|
|
|
# Removing leftover leases and persistent rules
|
|
echo "cleaning up dhcp leases"
|
|
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
|
|
rm -rf /dev/.udev/
|
|
rm /lib/udev/rules.d/75-persistent-net-generator.rules
|
|
|
|
echo "Adding a 2 sec delay to the interface up, to make the dhclient happy"
|
|
echo "pre-up sleep 2" >> /etc/network/interfaces
|
|
|