Added serial console for Ubuntu and Centos.

Change-Id: Ic484fa214b19e4fb1f4ffff8df1e718bf8132dd9
Closed-bug: #1259245
Merge "Added serial console for Ubuntu and Centos."