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:
parent
10b968e891
commit
ec73f2bab1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue