How to make system wait for network during boot?

You need to edit /etc/fstab and find the entry that matches your network share, which looks like it would be on line # 14. Around the end of the line there are a few options separated by commas i.e.:

credential=/root/.smbcredentials_auto,uid=1000,gid=1000

Append any new options at the end, also separated by a comma:

credential=/root/.smbcredentials_auto,uid=1000,gid=1000,x-systemd.automount

Note that you need admin privileges to edit the /etc/fstab file:

If you prefer, you can also do this from the command line, for example:

sudo nano /ets/fstab

To save changes made with nano Save with Ctrl+O and exit with Ctrl+X. But it doesn't matter which method you use, just mentioning this for completeness.

Honestly, this is the new syntax that also makes my head hurt... I know that everything in a single line gets all cramped and cryptic, but it's much easier to follow (in my opinion). If this doesn't work, we can take a look at this later.