Skip to content

Commit

Permalink
Fix disable-netplan-networkd.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Mar 21, 2020
1 parent 8f10a27 commit 85d0d37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ubuntu/disable-netplan-networkd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
# Some details can be found here: https://github.com/hashicorp/vagrant/issues/11378
# In short the /etc/netplan/01-netcfg.yaml should not be on the Ubuntu Desktop installation when using Vagrant otherwise `vagrant up` is hanging.

test -s /etc/netplan/01-netcfg.yaml && rm -v /etc/netplan/01-netcfg.yaml
if [[ -s /etc/netplan/01-netcfg.yaml ]] ; then
rm -v /etc/netplan/01-netcfg.yaml
fi

0 comments on commit 85d0d37

Please sign in to comment.