Skip to content

Commit

Permalink
Improve initial network settings to allow static IPs fgrehm#18
Browse files Browse the repository at this point in the history
  • Loading branch information
evermind-micw committed Oct 29, 2014
1 parent b1d8235 commit 24ac7c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debian/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ info "Cleaning up '${CONTAINER}'..."
log 'Removing temporary files...'
rm -rf ${ROOTFS}/tmp/*

# some changes to allow externally set static ips
log 'setting nameserver to 8.8.8.8'
echo 'nameserver 8.8.8.8' > ${ROOTFS}/etc/resolv.conf
log 'removing nameserver settings'
echo '' > ${ROOTFS}/etc/resolv.conf

log 'adding script ${ROOTFS}/root/disable_dhcp_client.sh to disable dhcp'
cat <<EOF > ${ROOTFS}/root/disable_dhcp_client.sh
Expand Down

0 comments on commit 24ac7c1

Please sign in to comment.