Fix setting network stuff in container (#245)

This commit is contained in:
Andrei Radulescu
2024-07-16 17:01:43 +03:00
committed by GitHub
parent 0ea00d5175
commit d44d1526a3
+1 -1
View File
@@ -75,7 +75,7 @@ echo "Setting network stuff"
HOST=comma
docker exec -w $ROOTFS_DIR $MOUNT_CONTAINER_ID bash -c "\
ln -sf /proc/sys/kernel/hostname etc/hostname; \
echo \"127.0.0.1 localhost.localdomain localhost\" > etc/hosts \
echo \"127.0.0.1 localhost.localdomain localhost\" > etc/hosts; \
echo \"127.0.0.1 $HOST\" >> etc/hosts"
# Fix resolv config