Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

CentOS 7 - Customization doesn't Work

$
0
0

Hellow Guys,

I have a perfect customization spec. Working very good with rhel6 and centos6.

My problem started when I need to test the spec with the rhel7 or centos7.

 

Below, a litter bit the my code:

 

var myCustomizationFixedName = new VcCustomizationFixedName();  myCustomizationFixedName.name = HOSTNAME;
//------------------------------------------------------------------------------------------
// Fixa o hostname e domain
//------------------------------------------------------------------------------------------
var myCustomizationLinuxPrep = new VcCustomizationLinuxPrep();  myCustomizationLinuxPrep.domain = dnsDomain;  myCustomizationLinuxPrep.hostName = myCustomizationFixedName;
//------------------------------------------------------------------------------------------
// Cria um Custom Spec e attach os objetos de rede, DNS e adapter
//------------------------------------------------------------------------------------------
var myCustomizationSpec = new VcCustomizationSpec();  myCustomizationSpec.identity = myCustomizationLinuxPrep;  myCustomizationSpec.globalIPSettings = attGlobalIPSettings;  myCustomizationSpec.nicSettingMap = attNicSettingMap;
cloneSpec.config = configSpec;
cloneSpec.customization = myCustomizationSpec;

 

When I use this spec, the VMware Orchestrator create the Virtual Machine, configure IP but doesn't configure the HOSTNAME. The problem it's!!!! Doesn't configure HOSTNAME.


Somebody already had this problem?
Thank very much!!!!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>