Fix deprecated variable access in configuration templates

This fixes warnings such as

    Warning: Variable access via 'network' is deprecated. Use '@network' instead.