2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-28 05:12:14 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Hilst 102dc80920 fix(postscripts): an installed node ignores the DUID its reservation holds
configdhcpv6duid always derived the DHCPv6 client identifier from the SMBIOS
UUID in firmware byte order. makedhcp does that only when mac.duid is unset or
holds 'firmware': 'canonical' reserves the order product_uuid prints, and a
literal DUID is reserved as it stands. A node with either setting wrote an
identifier that matched no reservation, so it took a pool address and had no
boot file URL.

mypostscript.tmpl now exports the attribute as DHCP6DUID, and the postscript
reads it. 'canonical' keeps the order product_uuid printed. A literal is
written as it stands for NetworkManager, which takes a whole DUID.
systemd-networkd composes one from a named type, and only the UUID type can be
expressed that way, so a literal of another type is written for
NetworkManager alone and the reason is logged. A value that is neither keyword
nor DUID writes nothing, which is what makedhcp refuses as well.

The derived values are byte-identical to kea_duid_from_uuid for both orders.
postscript_dhcpv6_duid.bats goes from 9 checks to 16; ignoring the attribute
fails the five that name a setting and leaves the firmware default passing.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-30 13:17:39 -03:00
Markus Hilger 2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
GONG Jie d51025d495 Remove trailing spaces in file xCAT-server/share/xcat/mypostscript/mypostscript.tmpl 2017-12-31 23:59:59 +00:00
cxhong 51ad6fd511 Support User defined community string for enable snmp on Cumulus Switches (#3818)
* Support User defined community string for enable snmp on Cumulus
Switches

* modify comment from yangsong

* Modify code from review comments
2017-09-04 10:04:06 +08:00
bybai f6b16d24bd enhance configeth configure instnic 2017-07-24 02:51:35 -04:00
Bin Xu bf172d1489 Fix 3151, Backup service node is not reflected in the /opt/xcat/xcatinfo file (#3434)
* populate node attribute servicenode into mypostscript, and then inject into /opt/xcat/xcatinfo
cover both updatenode -s and os installation case.

* using 1 step of sed for chaning
2017-07-12 03:03:54 -05:00
XuWei ee67e2eafd Add node attribute 'syslog', avoid the syslog configuration for certain node 2016-03-25 03:53:55 -04:00
bybai 2806f1f79e enhance mypostscript.tmpl 2016-01-12 02:36:12 -05:00
immarvin 71e6a7f1bf postscript enhancement: enhance log framework of the xcat postscript 2015-07-07 01:49:57 -04:00
daniceexi 19853bf2d2 Change the code to generate MACADDRESS var in mypostscript. var MACMAC will show the mac.mac. var MACADDRESS will show the installnic which calculated from mac.mac 2015-03-06 05:22:40 -05:00
linggao 729907f7eb Allow specifying mtu and connected_mode settings in configeth and configib per request from defect 3567 2014-12-04 09:32:59 -05:00
lissav 318cf6bfa8 add zonename 2014-02-26 10:41:42 -05:00
wanghuaz 0c911a96a3 passing kitcomponent deploy parameters to genimage package installation, postinstall script and postbootscripts. 2013-12-30 09:54:46 +08:00
jjhua 7cff252401 add the loadclouddata, share/xcat/mypostscript/mypostscript_cloud.tmpl into xCAT-OpenStack 2013-10-23 22:56:17 -04:00
jjhua 1d3d316d05 fixed bug 3718. This fix only checked into xCAT 2.9 2013-08-13 17:13:47 -04:00