[debian-edu-commits] r81728 - in branches/wheezy/debian-edu-config: . debian share/ltsp/init-ltsp.d

pere at alioth.debian.org pere at alioth.debian.org
Thu Jul 18 13:03:50 UTC 2013


Author: pere
Date: 2013-07-18 13:03:50 +0000 (Thu, 18 Jul 2013)
New Revision: 81728

Added:
   branches/wheezy/debian-edu-config/share/ltsp/init-ltsp.d/08-edu-hostname
Modified:
   branches/wheezy/debian-edu-config/Makefile
   branches/wheezy/debian-edu-config/debian/changelog
Log:
Add new script init-ltsp.d/08-edu-hostname to adjust LTSP boot to
set hostname based on reverse DNS or MAC address like we do for
the other machines.

Modified: branches/wheezy/debian-edu-config/Makefile
===================================================================
--- branches/wheezy/debian-edu-config/Makefile	2013-07-18 12:19:10 UTC (rev 81727)
+++ branches/wheezy/debian-edu-config/Makefile	2013-07-18 13:03:50 UTC (rev 81728)
@@ -385,6 +385,7 @@
 		share/debian-edu-config/tools/wpad-extract \
 		share/debian-edu-config/ltspfs-mounter-kde \
 		share/ltsp/get-ldap-ltsp-config \
+		share/ltsp/init-ltsp.d/08-edu-hostname \
 		share/ltsp/init-ltsp.d/60-edu-diskless-ws \
 		share/ltsp/init-ltsp.d/70-edu-client-core \
 		share/initramfs-tools/scripts/nfs-bottom/before-ltsp \

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-07-18 12:19:10 UTC (rev 81727)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-07-18 13:03:50 UTC (rev 81728)
@@ -1,3 +1,12 @@
+debian-edu-config (1.710~svn81722) UNRELEASED; urgency=low
+
+  [ Petter Reinholdtsen ]
+  * Add new script init-ltsp.d/08-edu-hostname to adjust LTSP boot to
+    set hostname based on reverse DNS or MAC address like we do for
+    the other machines.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Thu, 18 Jul 2013 14:16:00 +0200
+
 debian-edu-config (1.710~svn81721) wheezy-test; urgency=low
 
   [ Petter Reinholdtsen ]

Added: branches/wheezy/debian-edu-config/share/ltsp/init-ltsp.d/08-edu-hostname
===================================================================
--- branches/wheezy/debian-edu-config/share/ltsp/init-ltsp.d/08-edu-hostname	                        (rev 0)
+++ branches/wheezy/debian-edu-config/share/ltsp/init-ltsp.d/08-edu-hostname	2013-07-18 13:03:50 UTC (rev 81728)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Update hostname based on DNS or MAC address using our name scheme
+HOSTNAME=$(/usr/sbin/update-hostname-from-ip -m -n)




More information about the debian-edu-commits mailing list