3cbe9d7f83
Merge pull request #363 from whowutwut/dhcpd6
...
makedhcp -n on rhels7 complains about missing dhcpd6 file
2015-11-19 15:38:17 +08:00
da9d6a23ef
Add code to check the os version by looking for the digit values
...
in the $os string. If >= SLES 11 or >= RHEL 7, dhcpd and dhcpd6
share the same configuration file
2015-11-18 13:13:06 -05:00
d39d5b567c
Merge pull request #386 from xuweibj/I302
...
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 14:01:14 +08:00
f2b9f6e94a
to fix Issue 302, modified my_ip_facing and related functions
2015-11-12 00:33:03 -05:00
ab5349cf29
rhels7 also stores the dhcpd/dhcpd6 config in the same
...
/etc/sysconfig/dhcpd file. Add test for rhels7
2015-11-04 15:39:16 -05:00
315a7fb841
Stop repeating domains in domain-search
...
Fixes issue #246 .
2015-10-08 14:50:17 +01:00
a81a5e1a45
fix the indent issue and combine trace message
2015-08-18 04:11:59 -04:00
a35ca71281
add trace information
2015-08-13 23:31:30 -04:00
8fc48e7a21
do not try to add ipv6 networks into dhcp if there is no ipv6 network in networks table
2015-06-02 23:43:53 -04:00
1f8974af4f
fix bug 4667:rhels6.5 diskful installation failed with netboot=yaboot, for netboot=nimol
2015-05-18 08:14:27 -04:00
ae636e0afa
fix for bug 2825 and 4628: print warning with makedhcp when the node ip address could not resolved, or the ip overlaps with dynamic range
2015-05-18 04:23:02 -04:00
ff20b96dba
1. appending "statement" within makedhcp rather than from nodeset, find corrent tftpserver for petitboot booting; 2. Use hvc0 for ppc64 genesis shell
2015-05-13 03:40:35 -04:00
f62bdf3121
fixed a syntax error in dhcp.pm
2015-05-12 05:50:02 -04:00
a2c5a0be58
dhcp.pm: moved authoritative statement inside the network stanza
2015-05-12 05:50:02 -04:00
05339e823e
updated dhcp.pm to put out a warning message when subnet/netmask for network in network table does not match network configured
2015-05-12 05:50:02 -04:00
a84a9e655b
appending "statement" within makedhcp rather than from nodeset, this commit include grub2,petitboot and nimol netboot method
2015-05-12 01:36:55 -04:00
b0c839856d
Finish fix from previous commit
...
The change to remote behavior was not fully compensated
for in previous commit. Go farther and ensure that the
classic syntax is executed exactly is it was.
2015-04-29 15:51:10 -04:00
ae5715849f
Restore backwards compatibility to !remote!
...
A change was made to allow '!remote!' to force indicate a NIC to be
relevant in case it wouldn't naturally occur. This broke existing
configurations where the NIC would naturally be 'active'. Attempt
to address by restoring the old match and enabling the new code
when an interface name is detected after '!remote!', but otherwise
act like pre-2.9.1 dhcp.pm
2015-04-29 15:01:25 -04:00
dc3fb9d4c9
fix bug 4476: Get "no free leases" when MN and target Nodes are in different subnets
2015-01-15 04:38:20 -05:00
1d781ea39f
Bug #3832 rewrite logic for dhcpd config, avoid dual code path
2014-10-20 14:42:54 -04:00
64c3c7c273
missed ~ in =~ in changes from dhcp.pm
2014-10-09 13:38:22 -04:00
1c0f2b5bef
clean up formatting of dhpc.pm
2014-10-08 13:33:23 -04:00
c3f0760164
Bug:3832 - test sles OS before checking dhcpd6 file when ipv6 used, fix formatting
2014-10-01 18:02:46 -04:00
b06aa3afb0
enhance of creating default netboot configuration file for p8 hardware discovery
2014-09-24 20:23:20 -07:00
ee1a1574c3
generate default netboot configure file for p8 hardware discovery
2014-09-24 02:38:54 -07:00
5fe158f353
replace service stuff with newly added subrotines in xCAT::Utils
2014-06-10 06:11:07 -07:00
cde9aed074
fix defect 4117 and 4113
2014-05-08 00:38:30 -07:00
1057bd5b91
modify DHCP parameters for pkvm
2014-04-22 03:11:09 -07:00
9e3dfa484b
fix defect 4034
2014-03-31 14:26:29 -04:00
c822d4f560
defect 3953
2014-03-26 13:08:41 -04:00
9c3ed358b4
fix defect #4030 [DEV]'makedhcp -n' failed to add subnet info to dhcpd.conf on rhels7.0 x86_64 mn
2014-03-19 08:15:58 -07:00
24215114c6
Fix for bug 3815
...
Last fix results in "makedhcp -n" not working, so re-fix it.
2014-01-09 22:20:51 -05:00
2cca891e35
Fix for bug 3952
...
Made makedhcp be able to handle the case where site.nameservers or
networks.nameservers is a comma delimited list with <xcatmaster>
keyword in it.
2014-01-02 01:23:43 -05:00
045f334d33
fixing bug 3815: don't use global variables which doest work well in hierarchy system.
2013-12-30 11:02:02 +08:00
abea7eceee
Rewirte the proxydhcp.c with proxydhcp-xcat in perl; Added site.installnic to control the nics setting for windows; Added servicenode.proxydhcp and noderes.proxydhcp to control the starting of proxydhcp-xcat daemon and makedhcp againsts node for windows deployment
2013-12-19 04:55:27 -05:00
663a0b7da8
Mutiple winpes support. nodeset (Windows.pm) will generate configuration file (path of winpe) in /var/lib/xcat/proxydhcp.cfg and send signal to proxydhcp daemon, proxydhcp daemon loads configuration file and offers 4011 service to windows compute nodes.
2013-12-10 05:35:37 -05:00
1170cda7f4
fix for bug 3902: add bridge nics into dhcpd.conf, em\d+ for Fedora
2013-12-05 12:51:49 +08:00
4624c6b9fa
fixing bug 3815: check options again in process_request to make sure makedhcp options can be processes on service node.
2013-11-06 17:31:36 +08:00
cac2677c1c
temp fix for bug 3792: multiple nics in the same subnet, use the first nic that in the subnet for dhcp
2013-10-29 10:48:31 +08:00
4e11f026ef
add check for sles10 and rh5
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-16 16:33:33 +00:00
38b5424c5d
Captian Grammar fixes spelling -- s/sepcified/specified/g
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 15:45:27 +00:00
9a7b3b91df
fixed syntax problem with checking on option -n
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 12:29:22 +00:00
72e4bea17f
fix the syntax error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-03 08:29:25 +00:00
3165c35860
comment changes only to dhcp.pm to help document the code
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 15:30:40 +00:00
1bbe000d21
fix for bug 3593: check_options error with makedhcp -s statements
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-24 09:23:12 +00:00
20655afd7b
updates to dhcp.pm to fix the problem with plugins calling it without arguements
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16374 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-21 12:22:17 +00:00
0d6b9af866
Fix problem when request did not have adequate arg in dhcp.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-20 17:59:40 +00:00
322fde4ed9
updates to dhcp.pm and makedhcp man page for makedhcp query
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16303 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-15 20:36:34 +00:00
60609b1b24
Fix problem erroneously requiring per-net config in ipv6 case not required in ipv4 case
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 15:13:28 +00:00
86466c955c
Fix problem where default gateway was interpreted oddly in makedhcp ipv6
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 14:50:12 +00:00