We propose a scheme for the preparation of one-dimensional and two-dimensional cluster states by using hot trapped ions. The scheme is based on the interaction between two ions and bichromatic radiation. The vibrational mode in our protocol is only virtually excited so that the system is insensitive to the thermal field. In addition, we only use two levels of ions as qubits and the successful probability may achieve 100%.