chroot_hostname: Fix reference to chroot inside chroot

Fixes: d2722e8f (Fix permissions and ownership of chroot_hosts and chroot_hostname copied files)
This commit is contained in:
Ryan Finnie 2022-08-23 10:41:25 -07:00
parent 10b968e891
commit ec73f2bab1
No known key found for this signature in database
GPG Key ID: 7E60A3A686AE8D98
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ EOF
then
cp config/"${INCLUDE_DIR}"/etc/hostname chroot/etc/hostname
chmod 644 chroot/etc/hostname
Chroot chroot "chown root:root chroot/etc/hostname"
Chroot chroot "chown root:root /etc/hostname"
fi
Echo_message "Deconfiguring file /bin/hostname"