diff options
| -rw-r--r-- | builder/modules.d/slx-network/copy-network-config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/modules.d/slx-network/copy-network-config.sh b/builder/modules.d/slx-network/copy-network-config.sh index bccb79ca..eeab0c85 100644 --- a/builder/modules.d/slx-network/copy-network-config.sh +++ b/builder/modules.d/slx-network/copy-network-config.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ -n "$NEWROOT" ]; then - for file in /etc/{hostname,resolv.conf}; do + for file in /etc/{hostname,resolv.conf,hosts}; do unlink "${NEWROOT}/${file}" cp -f "$file" "${NEWROOT}/etc" done |
