Update build_machine_bootstrap.sh

This commit is contained in:
Chris Long
2019-04-02 08:42:39 -07:00
committed by GitHub
parent e8f6423c85
commit 35ea96f715

View File

@@ -28,8 +28,6 @@ fi
echo "Args: $ARGS" echo "Args: $ARGS"
sed -i 's/archive.ubuntu.com/us.archive.ubuntu.com/g' /etc/apt/sources.list
if [[ "$VAGRANT_ONLY" -eq 1 ]] && [[ "$PACKER_ONLY" -eq 1 ]]; then if [[ "$VAGRANT_ONLY" -eq 1 ]] && [[ "$PACKER_ONLY" -eq 1 ]]; then
echo "Somehow this build is configured as both packer-only and vagrant-only. This means something has gone horribly wrong." echo "Somehow this build is configured as both packer-only and vagrant-only. This means something has gone horribly wrong."
exit 1 exit 1