Fix reboot for centos-7

Change-Id: I8e43bc885ffce0f5f42f3ac57bb00b47c3dda16e