Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 20:08:13 GMT
From:      kczekirda@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r268929 - soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts
Message-ID:  <201406012008.s51K8DcG095016@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kczekirda
Date: Sun Jun  1 20:08:13 2014
New Revision: 268929
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=268929

Log:
  dns ipv4

Modified:
  soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script

Modified: soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script
==============================================================================
--- soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script	Sun Jun  1 20:08:09 2014	(r268928)
+++ soc2014/kczekirda/pxe-fai-head/head/usr.sbin/bsdinstall/scripts/script	Sun Jun  1 20:08:13 2014	(r268929)
@@ -175,13 +175,15 @@
 	if [ "$DHCP" = "NO" ]; then
 		echo "ifconfig_$INTERFACE=\"inet $ADDRESSV4 netmask $NETMASK\"" >> $BSDINSTALL_TMPETC/rc.conf.network
 		echo "defaultrouter=\"$GWV4\"" >> $BSDINSTALL_TMPETC/rc.conf.network
+		echo "domain $DOMAIN"
+                echo "nameserver $DNS1V4"
+                echo "nameserver $DNS2V4"
+		echo "domain $DOMAIN" >> $BSDINSTALL_CHROOT/etc/resolv.conf
+		echo "nameserver $DNS1V4" >> $BSDINSTALL_CHROOT/etc/resolv.conf
+		echo "nameserver $DNS2V4" >> $BSDINSTALL_CHROOT/etc/resolv.conf
 	fi
 fi
 
-# DOMAIN
-# DNS1V4
-# DNS2V4
-
 # Make partitions
 rm -f $PATH_FSTAB
 touch $PATH_FSTAB



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406012008.s51K8DcG095016>