Added socket to cobbler_register.sh state change