while not critical, the vm creation forms are also avail under /compute_resources/id/vms/new, hardcoding the host_id would not work no these conditions, maybe change to a regexp match that checks the ending of the id with security_groups_ids instead?