fix erb instance variable warnings

Eg.:
    Warning: Variable access via 'operatingsystem' is deprecated. Use
    '@operatingsystem' instead.

Done by visual inspection so it's possible that I may have missed a few
warnings in templates I'm not actively using.