jan kaufman | dfc08f0 | 2015-04-29 20:17:55 +0200 | [diff] [blame] | 1 | # base packages and setup |
jan kaufman | a519d7b | 2015-03-04 00:51:47 +0100 | [diff] [blame] | 2 | apt-get update |
| 3 | apt-get -y upgrade |
| 4 | apt-get -y dist-upgrade |
| 5 | apt-get -y install linux-headers-$(uname -r) |
jan kaufman | 7a67b7b | 2015-03-11 14:16:32 +0100 | [diff] [blame] | 6 | apt-get -y install curl |
jan kaufman | dfc08f0 | 2015-04-29 20:17:55 +0200 | [diff] [blame] | 7 | |
jan kaufman | 0fcf1a7 | 2015-05-06 10:16:12 +0200 | [diff] [blame^] | 8 | apt-get -y install cloud-init |
| 9 | chown root:ubuntu /etc/cloud/cloud.cfg.d |
| 10 | chmod g+w /etc/cloud/cloud.cfg.d |
jan kaufman | a519d7b | 2015-03-04 00:51:47 +0100 | [diff] [blame] | 11 | |
| 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 | |