mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Alexandre Abadie
562cc9007c
This change is also a complete refactoring of the generation of the vagrant image
11 lines
389 B
Bash
11 lines
389 B
Bash
date > /etc/vagrant_box_build_time
|
|
|
|
mkdir /home/${SSH_USERNAME}/.ssh
|
|
wget --no-check-certificate \
|
|
'https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub' \
|
|
-O /home/${SSH_USERNAME}/.ssh/authorized_keys
|
|
chown -R user /home/${SSH_USERNAME}/.ssh
|
|
chmod -R go-rwsx /home/${SSH_USERNAME}/.ssh
|
|
# Create SSH key pair
|
|
yes y | ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
|