06-30-2020 03:36 AM - edited 06-30-2020 03:54 AM
DCNM can only be installed with a FQDN name.
My FQDN is xx-xxx-dcnm-xxx.adm.gnp.les800 but DCNM refuse it.
I need to cheat using:
xx-xxx-dcnm-xxx.adm.gnp.les800.fr or
xx-xxx-dcnm-xxx.adm.gnp.les800.com or
xx-xxx-dcnm-xxx.adm.gnp
[root@xx-xxx-dcnm-xxx home]# appmgr update network-properties set hostname local xx-xxx-dcnm-xxx.adm.gnp.les800
ERROR: invalid FQDN xx-xxx-dcnm-xxx.adm.gnp.les800
[root@xx-xxx-dcnm-xxx home]# appmgr update network-properties set hostname local xx-xxx-dcnm-xxx.adm.gnp
[root@xx-xxx-dcnm-xxx home]#
How can I force my FQDN o where is the regex to correct it ????
06-30-2020 03:42 AM
06-30-2020 03:52 AM
SOLUTION:
[root@xx-xxx-dcnm-xxx ~]# mv /root/packaged-files/scripts /root/packaged-files/scripts.tmp
[root@xx-xxx-dcnm-xxx ~]# mkdir /root/packaged-files/scripts
[root@xx-xxx-dcnm-xxx ~]# cp -fr /root/packaged-files/scripts.tmp/* /root/packaged-files/scripts/
[root@xx-xxx-dcnm-xxx ~]# sed -i 's!check -is_fqdn!#check -is_fqdn!g' /root/packaged-files/scripts/updateNetworkProperties.sh
[root@xx-xxx-dcnm-xxx ~]# appmgr update network-properties set hostname local xx-xxx-dcnm-xxx.adm.gnp.les800
[root@xx-xxx-dcnm-xxx ~]# appmgr update network-properties session apply
[root@xx-xxx-dcnm-xxx ~]# rm -fr /root/packaged-files/scripts
[root@xx-xxx-dcnm-xxx ~]# mv /root/packaged-files/scripts.tmp /root/packaged-files/scripts
[root@xx-xxx-dcnm-xxx ~]# reboot
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide