From 0649fd9d53416c3a06672ae8a938c38205c35f95 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 13 Sep 2011 13:59:53 +0000 Subject: [PATCH] Set POSIX tzdb dhcp entry if easy git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 09ecb290e..923216048 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -2075,12 +2075,17 @@ sub newconfig push @dhcpconf, "option gpxe.bus-id code 177 = string;\n"; push @dhcpconf, "option user-class-identifier code 77 = string;\n"; push @dhcpconf, "option gpxe.no-pxedhcp code 176 = unsigned integer 8;\n"; + push @dhcpconf, "option tcode code 101 = text;\n"; + push @dhcpconf, "option iscsi-initiator-iqn code 203 = string;\n"; #Only via gPXE, not a standard push @dhcpconf, "ddns-update-style interim;\n"; push @dhcpconf, "ignore client-updates;\n"; #Windows clients like to do all caps, very un xCAT-like # push @dhcpconf, "update-static-leases on;\n"; #makedns rendered optional push @dhcpconf, "option client-architecture code 93 = unsigned integer 16;\n"; + if ($::XCATSITEVALS{timezone}) { + push @dhcpconf, "option tcode \"".$::XCATSITEVALS{timezone}."\";\n"; + } push @dhcpconf, "option gpxe.no-pxedhcp 1;\n"; push @dhcpconf, "\n"; push @dhcpconf, "omapi-port 7911;\n"; #Enable omapi...