Copy /etc/hostname and /etc/hosts into target
authorBenjamin Drung <benjamin.drung@cloud.ionos.com>
Wed, 21 Aug 2019 14:55:13 +0000 (16:55 +0200)
committerBenjamin Drung <benjamin.drung@cloud.ionos.com>
Wed, 21 Aug 2019 14:55:13 +0000 (16:55 +0200)
commitd9d44fdbaeeee8b233de8c44bf52a61a953cb761
tree39c32d80ef82adb43438d248d7c951ca461eae65
parent44c651dc8dcaaa41bb57dba636db97d4fe04bea8
Copy /etc/hostname and /etc/hosts into target

If the target system has an empty /etc/hostname file, copy /etc/hostname
from the initramfs into the target system. If the target system has an
empty or default /etc/hosts file, copy /etc/hosts from the initramfs
into the target system.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
components/9990-main.sh