Problem with unattended installition for ubuntu and centos desktop

Hi every body;

i have tried on more time to install centos with desktop environment but
every time i have finally minimal centos server not a desktop

and this else happened with Ubuntu ,

and in two cases i used local repository to save bandwidth, so any one can
help