Hello, on xCAT 2.14.6 w/ RHEL 7.6, I have this weird issue: after
provisioning the hostname is not correctly set, it stays to "localhost".

This happened since I added the "confignetwork" script to the node
definition (to setup bonded interfaces).

Here are some details:

lsdef -t node -o node1

Object name: node1
    arch=x86_64
    currchain=boot
    currstate=install rhels7.6-x86_64-compute
    groups=all
    installnic=mac
    ip=1.2.3.4
    mac=08:00:00:00:00:00
    mgt=none
    netboot=xnba
    nicdevices.bond0=enp195s0f0|enp195s0f1
    nicdevices.bond1=enP2p193s0|enP3p65s0
    nicextraparams.bond0=BONDING_OPTS=mode=2
    nicextraparams.bond1=MTU=9000
    nicips.bond0=1.2.3.4
    nicips.bond1=6.7.8.9
    nicnetworks.bond0=1_1_3_4-255_255_0_0
    nicnetworks.bond1=6_7_8_9-255_255_255_0
    nictypes.enP3p65s0=ethernet
    nictypes.bond0=bond
    nictypes.bond1=bond
    nictypes.enp195s0f1=ethernet
    nictypes.enP2p193s0=ethernet
    nictypes.enp195s0f0=ethernet
    os=rhels7.6
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles,confignetwork
    primarynic=mac
    profile=compute
    provmethod=rhels7.6-x86_64-install-node
    routenames=defaultroute
    status=booted
    statustime=05-20-2019 17:42:15
    updatestatus=synced
    updatestatustime=05-20-2019 14:31:18


lsdef -t osimage -o rhels7.6-x86_64-install-node

Object name: rhels7.6-x86_64-install-node
    addkcmdline=earlyprintk=ttyS0,115200 console=tty0 console=ttyS0,115200
    imagetype=linux
    osarch=x86_64
    osdistroname=rhels7.6-x86_64
    osname=Linux
    osvers=rhels7.6
    otherpkgdir=/install/post/otherpkgs/rhels7.6/x86_64
    otherpkglist=/install/custom/install/rh/sdflex.rhels7.otherpkgs.pkglist
    partitionfile=/install/custom/install/rh/sdflexparitions
    pkgdir=/install/rhels7.6/x86_64,/install/post/otherpkgs/rhels7.6/x86_64
    pkglist=/opt/xcat/share/xcat/install/rh/sdflex.rhels7.pkglist
    profile=compute
    provmethod=install
    template=/install/custom/install/rh/sdflex.rhels7.tmpl

--
Nicolas

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to