Add "|| true" to resolvconf remove

Prevent its potential error from stopping later script execution

Change-Id: I98d2e92e6628edfd6fb3e46c16e5b793a2d52f50
This commit is contained in:
Changbin Liu 2013-06-05 17:53:20 -04:00
parent eefd613e66
commit f8c20af9eb
1 changed files with 1 additions and 1 deletions

View File

@ -8,4 +8,4 @@ sudo parted /dev/vdb --script -- mkpart primary ext4 1 -1
sudo parted /dev/vdb --script -- set 1 lvm on
# use dnsmasq (fixed resolv.conf) instead
sudo apt-get -y remove resolvconf
sudo apt-get -y remove resolvconf || true