too small change. Remove also useless if and you cannot have configure_network = false
Also install_inf check below is useless as you do not need it.