1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist/tools/packer/scripts/base.sh
Alexandre Abadie 562cc9007c
tools/packer: adapt for Ubuntu 18.04
This change is also a complete refactoring of the generation of the vagrant image
2020-02-19 19:23:07 +01:00

15 lines
313 B
Bash

apt-get update
apt-get -y upgrade
apt-get -y install linux-headers-$(uname -r)
# Fix locale setup
locale-gen
localectl set-locale LANG="en_US.UTF-8"
# Allow usage of serial port
adduser ${SSH_USERNAME} dialout
echo '%sudo ALL=(ALL:ALL) NOPASSWD:ALL' >> /etc/sudoers
echo "UseDNS no" >> /etc/ssh/sshd_config