Reorder code
This commit is contained in:
parent
c0ee7ff901
commit
dc0f625251
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -259,8 +259,6 @@ EOF
|
|||
##
|
||||
# Configure network.
|
||||
#
|
||||
apply_file 644 '/etc/resolv.conf'
|
||||
|
||||
echo $HOSTNAME > "$ROOTFS_DIR/etc/hostname"
|
||||
chmod 644 "$ROOTFS_DIR/etc/hostname"
|
||||
|
||||
|
@ -270,6 +268,8 @@ apply_file 644 '/etc/network/interfaces'
|
|||
apply_file 644 '/etc/network/interfaces.d/eth0'
|
||||
apply_file 644 '/etc/network/interfaces.d/eth1'
|
||||
|
||||
apply_file 644 '/etc/resolv.conf'
|
||||
|
||||
##
|
||||
# Add user.
|
||||
#
|
||||
|
|
Reference in a new issue