I agree with Tvad, Connect the ground wire to the male plug as well the IEC female connector. In the case of the two wire cord application the ground wire may help bleed off EMI noise.
And from a safety aspect, because you are using a three wire plug and a three wire IEC connector the cord should also be a three wire.
Make sure the polarity on the IEC connector matches that of the male plug. Very important.....Check continuity of the plug and connector after building the pc.
And from a safety aspect, because you are using a three wire plug and a three wire IEC connector the cord should also be a three wire.
Make sure the polarity on the IEC connector matches that of the male plug. Very important.....Check continuity of the plug and connector after building the pc.

