Added support for auto as requested by Stefan Adams in https://github.com/lxc-webpanel/LXC-Web-Panel/pull/38