Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.137.170.38
# Set the true hostname.
#
# systemd has already set the hostname when this unit executes (based on
# the original /etc/hostname).
#
# However, since that file is on the read-only rootfs and the real
# hostname is on the writable partition (/etc/writable bind-mount), it
# is necessary to reset the hostname as soon as the true hostname file
# is available.
[Unit]
Description=Set the hostname to the value stored on the writable partition
After=etc-writable.mount
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/bin/hostname -F /etc/hostname
|