blob: c960764a104b995b241475f5b55bd2a8255693c8 [file] [log] [blame]
jan kaufmandfc08f02015-04-29 20:17:55 +02001# base packages and setup
jan kaufmana519d7b2015-03-04 00:51:47 +01002apt-get update
3apt-get -y upgrade
4apt-get -y dist-upgrade
5apt-get -y install linux-headers-$(uname -r)
jan kaufman7a67b7b2015-03-11 14:16:32 +01006apt-get -y install curl
jan kaufmandfc08f02015-04-29 20:17:55 +02007
jan kaufman0fcf1a72015-05-06 10:16:12 +02008apt-get -y install cloud-init
9chown root:ubuntu /etc/cloud/cloud.cfg.d
10chmod g+w /etc/cloud/cloud.cfg.d
jan kaufmana519d7b2015-03-04 00:51:47 +010011
12# to be removed
13#sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
14#sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
15