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>
28 lines
769 B
Bash
28 lines
769 B
Bash
# Update the box
|
|
apt-get -y update
|
|
#below are needed for ruby perhaps
|
|
#apt-get -y install linux-headers-$(uname -r) build-essential
|
|
#apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
|
|
apt-get -y install curl unzip
|
|
apt-get clean
|
|
|
|
# Set up sudo
|
|
echo 'vagrant ALL=NOPASSWD:ALL' > /etc/sudoers.d/vagrant
|
|
|
|
# Tweak sshd to prevent DNS resolution (speed up logins)
|
|
echo 'UseDNS no' >> /etc/ssh/sshd_config
|
|
|
|
# Remove 5s grub timeout to speed up booting
|
|
echo <<EOF > /etc/default/grub
|
|
# If you change this file, run 'update-grub' afterwards to update
|
|
# /boot/grub/grub.cfg.
|
|
|
|
GRUB_DEFAULT=0
|
|
GRUB_TIMEOUT=0
|
|
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
|
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
|
|
GRUB_CMDLINE_LINUX="debian-installer=en_US"
|
|
EOF
|
|
|
|
update-grub
|