Jedrzej Nowak 7325a9371d Minimal solar VM packer template
Alpine linux as a base, vbox and libvirt

Change-Id: Iaa37b1ae02b4b0d22fc01fbeff5c6ce96e0b2699
2016-05-05 15:30:41 +02:00

11 lines
253 B
Bash

set -eux
# add in order to allow packer ssh access to provision
# the system, remove here to make box more secure
sed -i '/^PermitRootLogin yes/d' /etc/ssh/sshd_config
# make 'vagrant ssh' connections faster
echo "UseDNS no" >> /etc/ssh/sshd_config