Commands should be not interactive in provisioning: added -y to apt-get