Split autoUpdateImage function.
Split autoUpdateImage function.

Signed-off-by: Alberto Donato <3d6ca22374542c32836b344db03c69e81292ccc8@canonical.com>

erikmack/lxd,stgraber/lxd,stgraber/lxd,techtonik/lxd,mjeanson/lxd,hallyn/lxd,Skarlso/lxd,jsavikko/lxd,Skarlso/lxd,lxc/lxd,erikmack/lxd,stgraber/lxd,atxwebs/lxd,atxwebs/lxd,hallyn/lxd,georghopp/lxd,techtonik/lxd,jsavikko/lxd,jsavikko/lxd,lxc/lxd,lxc/lxd,lxc/lxd,hallyn/lxd,stgraber/lxd,pcdummy/lxd,stgraber/lxd,Skarlso/lxd,lxc/lxd,hallyn/lxd,hallyn/lxd,pcdummy/lxd,erikmack/lxd,mjeanson/lxd,lxc/lxd,atxwebs/lxd,pcdummy/lxd,stgraber/lxd,hallyn/lxd,mjeanson/lxd,atxwebs/lxd,stgraber/lxd,techtonik/lxd,lxc/lxd,Skarlso/lxd,georghopp/lxd,georghopp/lxd