added -y to add-repo to prevent it from hanging, worked in Vagrant without the -y