I tried a bunch of fixes. Some from this thread. No luck. On Ubuntu 14.04 I ended up simply doing:
AUTOFS_UPSTART=/etc/init/autofs.conf
cat $AUTOFS_UPSTART | sed "s/^start on runlevel.*$/start on (local-filesystems and net-device-up IFACE!=lo)/" | tee $AUTOFS_UPSTART
I tried a bunch of fixes. Some from this thread. No luck. On Ubuntu 14.04 I ended up simply doing:
AUTOFS_ UPSTART= /etc/init/ autofs. conf
cat $AUTOFS_UPSTART | sed "s/^start on runlevel.*$/start on (local-filesystems and net-device-up IFACE!=lo)/" | tee $AUTOFS_UPSTART
works like a charm