@@ -564,15 +564,15 @@ private void generateDefaultKeystore(String keystorePath) throws IOException {
564564 // Simple check to see if we got IP Address...
565565 boolean isIPAddress = Pattern .matches ("[0-9]$" , group [group .length - 1 ]);
566566 if (isIPAddress ) {
567- ou = "cloud.com" ;
567+ ou = "cloud.com" ; // leaving this example reference to cloud.com as it has no real world relevance
568568 } else {
569569 ou = group [group .length - 1 ];
570570 for (int i = group .length - 2 ; i >= 0 && i >= group .length - 3 ; i --)
571571 ou = group [i ] + "." + ou ;
572572 }
573573 } catch (UnknownHostException ex ) {
574574 s_logger .info ("Fail to get user's domain name. Would use cloud.com. " , ex );
575- ou = "cloud.com" ;
575+ ou = "cloud.com" ; // leaving this example reference to cloud.com as it has no real world relevance
576576 }
577577
578578 String o = ou ;
@@ -1055,6 +1055,7 @@ private DiskOfferingVO createdefaultDiskOffering(Long domainId, String name, Str
10551055
10561056 DiskOfferingVO newDiskOffering = new DiskOfferingVO (domainId , name , description , provisioningType , diskSize , tags , isCustomized , null , null , null );
10571057 newDiskOffering .setUniqueName ("Cloud.Com-" + name );
1058+ // leaving the above reference to cloud.com in as it is an identifyer and has no real world relevance
10581059 newDiskOffering .setSystemUse (isSystemUse );
10591060 newDiskOffering = _diskOfferingDao .persistDeafultDiskOffering (newDiskOffering );
10601061 return newDiskOffering ;
@@ -1066,6 +1067,7 @@ private ServiceOfferingVO createServiceOffering(long userId, String name, int cp
10661067 ServiceOfferingVO offering =
10671068 new ServiceOfferingVO (name , cpu , ramSize , speed , null , null , offerHA , displayText , provisioningType , localStorageRequired , false , tags , false , null , false );
10681069 offering .setUniqueName ("Cloud.Com-" + name );
1070+ // leaving the above reference to cloud.com in as it is an identifyer and has no real world relevance
10691071 offering = _serviceOfferingDao .persistSystemServiceOffering (offering );
10701072 return offering ;
10711073 }
0 commit comments