mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-07-09 16:52:05 +08:00
Fix setting network stuff in container (#245)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user