This is as-designed for all Linux distributions. Debian and CentOS always return different hostname command.
Use hostname -f or hostname -s for particular short or full names.
Moreover there is no CentOS in 7.0 - this bug is Invalid
This is as-designed for all Linux distributions. Debian and CentOS always return different hostname command.
Use hostname -f or hostname -s for particular short or full names.
Moreover there is no CentOS in 7.0 - this bug is Invalid